[vlc-commits] mediacodec: no late opening for MPEG4 for now
Thomas Guillem
git at videolan.org
Thu Sep 3 14:30:26 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Aug 28 12:24:22 2015 +0200| [15a6b6ec0b298fa9bb2dcae333dbfb8a9bc5e44f] | committer: Thomas Guillem
mediacodec: no late opening for MPEG4 for now
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15a6b6ec0b298fa9bb2dcae333dbfb8a9bc5e44f
---
modules/codec/omxil/mediacodec.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 6b9a16a..62987f6 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -626,6 +626,11 @@ static int OpenDecoder(vlc_object_t *p_this, pf_MediaCodecApi_init pf_init)
{
msg_Warn(p_dec, "waiting for extra data for codec %4.4s",
(const char *)&p_dec->fmt_in.i_codec);
+ if (p_dec->fmt_in.i_codec == VLC_CODEC_MP4V)
+ {
+ msg_Warn(p_dec, "late opening with MPEG4 not handled"); /* TODO */
+ goto bailout;
+ }
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list