Backport pull request #9430 from jellyfin/release-10.8.z

Fix Live TV hardware decoding

Original-merge: efc79295de

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: crobibero <cody@robibe.ro>
This commit is contained in:
nyanmisaka 2023-03-09 19:38:16 -05:00 committed by crobibero
parent f21ab50a81
commit 2146ddd20c

View File

@ -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