mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-18 20:24:20 +01:00
support mpeg2 decoding with omx
This commit is contained in:
@@ -1960,6 +1960,12 @@ namespace MediaBrowser.Controller.MediaEncoding
|
|||||||
return "-c:v h264_mmal";
|
return "-c:v h264_mmal";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case "mpeg2video":
|
||||||
|
if (_mediaEncoder.SupportsDecoder("mpeg2_mmal") && encodingOptions.HardwareDecodingCodecs.Contains("mpeg2video", StringComparer.OrdinalIgnoreCase))
|
||||||
|
{
|
||||||
|
return "-c:v mpeg2_mmal";
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user