[vlc-commits] omxil: Ignore codecs named OMX.ARICENT.*

Martin Storsjö git at videolan.org
Wed Jun 6 18:02:35 CEST 2012


vlc | branch: master | Martin Storsjö <martin at martin.st> | Tue Jun  5 22:34:02 2012 +0300| [7fbe882970a5d7ec57fa949b4f8a02fb10645dad] | committer: Jean-Baptiste Kempf

omxil: Ignore codecs named OMX.ARICENT.*

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.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7fbe882970a5d7ec57fa949b4f8a02fb10645dad
---

 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 87e36c7..8608f0e 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);



More information about the vlc-commits mailing list