Browse Source

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>
nyanmisaka 2 years ago
parent
commit
2146ddd20c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

+ 1 - 1
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