mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
enable qsv hevc decoding
This commit is contained in:
parent
04b6f23473
commit
f6b94af438
1 changed files with 7 additions and 7 deletions
|
@ -1713,13 +1713,13 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
return "-c:v h264_qsv ";
|
return "-c:v h264_qsv ";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
//case "hevc":
|
case "hevc":
|
||||||
//case "h265":
|
case "h265":
|
||||||
// if (_mediaEncoder.SupportsDecoder("hevc_qsv"))
|
if (_mediaEncoder.SupportsDecoder("hevc_qsv"))
|
||||||
// {
|
{
|
||||||
// return "-c:v hevc_qsv ";
|
return "-c:v hevc_qsv ";
|
||||||
// }
|
}
|
||||||
// break;
|
break;
|
||||||
case "mpeg2video":
|
case "mpeg2video":
|
||||||
if (_mediaEncoder.SupportsDecoder("mpeg2_qsv"))
|
if (_mediaEncoder.SupportsDecoder("mpeg2_qsv"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue