]> git.sesse.net Git - vlc/commitdiff
omxil: Ignore OMX.google.* codecs
authorMartin Storsjö <martin@martin.st>
Fri, 27 Jan 2012 08:32:22 +0000 (10:32 +0200)
committerRafaël Carré <funman@videolan.org>
Fri, 27 Jan 2012 09:02:24 +0000 (04:02 -0500)
These are sw codecs, mostly the same ones that earlier were present
with names starting with OMX.PV. They don't work properly with the
vlc omxil client code at the moment. Using them doesn't have any
significant advantage over our own bundled sw codecs.

Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/omxil/omxil.c

index ab811965fd4042854496d8c48757a8cfe300723c..3f735a6394f6c8b8345d8731f9a2405cac5d8732 100644 (file)
@@ -921,6 +921,9 @@ loaded:
         /* ignore OpenCore software codecs */
         if (!strncmp(p_sys->ppsz_components[i], "OMX.PV.", 7))
             continue;
+        /* The same sw codecs, renamed in ICS (perhaps also in honeycomb) */
+        if (!strncmp(p_sys->ppsz_components[i], "OMX.google.", 11))
+            continue;
 #endif
         omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
                                         &p_sys->omx_handle);