]> git.sesse.net Git - vlc/commitdiff
omxil: Ignore codecs named OMX.ARICENT.*
authorMartin Storsjö <martin@martin.st>
Tue, 5 Jun 2012 19:34:02 +0000 (22:34 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 6 Jun 2012 16:02:41 +0000 (18:02 +0200)
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@videolan.org>
modules/codec/omxil/omxil.c

index 87e36c7e3d88c3dadb8a361e01eebf3f5bb3c6d3..8608f0e422d42afbd407a811ec5e221c3acd5437 100644 (file)
@@ -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);