[vlc-commits] mediacodec: disable mpeg2
Thomas Guillem
git at videolan.org
Wed Jun 15 15:57:16 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jun 15 15:52:59 2016 +0200| [848f58d62de980fc51dc56f8b12a8985c02bac5e] | committer: Thomas Guillem
mediacodec: disable mpeg2
See comment.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=848f58d62de980fc51dc56f8b12a8985c02bac5e
---
modules/codec/omxil/mediacodec.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index d1a206e..9f82dde 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -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;
+ */
}
}
else
More information about the vlc-commits
mailing list