mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-15 18:42:21 +00:00
move loopback util
This commit is contained in:
1 parent
8931b949f8
commit
fc2a5acfca
10 files changed
+82
-445
No files matched your search
@@ -1670,6 +1670,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
case "h264":
|
||||
if (_mediaEncoder.SupportsDecoder("h264_qsv"))
|
||||
{
|
||||
// qsv decoder does not support 10-bit input
|
||||
if ((state.VideoStream.BitDepth ?? 8) > 8)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return "-c:v h264_qsv ";
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user