diff options
| author | nyanmisaka <nst799610810@gmail.com> | 2023-03-09 19:38:16 -0500 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2023-03-09 19:38:16 -0500 |
| commit | 2146ddd20c5b8fe7a5bbe09d9ab0dbc18b1706f5 (patch) | |
| tree | 6f3d06d8cd3adb893537e9af61f146224264c66a | |
| parent | f21ab50a81dec27a14f7f985917eca7ea55176b2 (diff) | |
Backport pull request #9430 from jellyfin/release-10.8.z
Fix Live TV hardware decoding
Original-merge: efc79295decce252e03978814fc09505bbb47956
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: crobibero <cody@robibe.ro>
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index afe5a686e..e6ff98843 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -4792,7 +4792,7 @@ namespace MediaBrowser.Controller.MediaEncoding } // HWA decoders can handle both video files and video folders. - var videoType = mediaSource.VideoType; + var videoType = state.VideoType; if (videoType != VideoType.VideoFile && videoType != VideoType.Iso && videoType != VideoType.Dvd |
