mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
support mpeg2 decoding with omx
This commit is contained in:
parent
1caae368d5
commit
fd621bbc52
1 changed files with 6 additions and 0 deletions
|
@ -1960,6 +1960,12 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||
return "-c:v h264_mmal";
|
||||
}
|
||||
break;
|
||||
case "mpeg2video":
|
||||
if (_mediaEncoder.SupportsDecoder("mpeg2_mmal") && encodingOptions.HardwareDecodingCodecs.Contains("mpeg2video", StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
return "-c:v mpeg2_mmal";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue