Commit 848f58d6 authored by Thomas Guillem's avatar Thomas Guillem

mediacodec: disable mpeg2

See comment.
parent 24759b19
......@@ -611,7 +611,12 @@ static int OpenDecoder(vlc_object_t *p_this, pf_MediaCodecApi_init pf_init)
case VLC_CODEC_VC1: mime = "video/wvc1"; break;
case VLC_CODEC_VP8: mime = "video/x-vnd.on2.vp8"; break;
case VLC_CODEC_VP9: mime = "video/x-vnd.on2.vp9"; break;
case VLC_CODEC_MPGV: mime = "video/mpeg2"; break;
/* FIXME: mpeg2 is disabled: sar num/den can't be updated from
* MediaCodec. Use avcodec instead that will update it. The proper
* solution is to update sar from a mpeg2 packetizer.
* case VLC_CODEC_MPGV: mime = "video/mpeg2"; break;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment