[vlc-devel] [PATCH] omxil: Ignore codecs named OMX.ARICENT.*
Martin Storsjö
martin at martin.st
Tue Jun 5 21:34:02 CEST 2012
These have been seen on HTC One V (where they were tried before
the working OMX.qcom.video.decoder.*) - they behave like they
are working, returning buffers and so on, but returns buffers filled
with 0 bytes.
---
modules/codec/omxil/omxil.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index f28cd9d..c2e3f99 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -972,6 +972,11 @@ loaded:
/* The same sw codecs, renamed in ICS (perhaps also in honeycomb) */
if (!strncmp(p_sys->ppsz_components[i], "OMX.google.", 11))
continue;
+ /* This one has been seen on HTC One V - it behaves like it works,
+ * but FillBufferDone returns buffers filled with 0 bytes. The One V
+ * has got a working OMX.qcom.video.decoder.avc instead though. */
+ if (!strncmp(p_sys->ppsz_components[i], "OMX.ARICENT.", 12))
+ continue;
#endif
omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
&p_sys->omx_handle);
--
1.7.10
More information about the vlc-devel
mailing list