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

Martin Storsjö git at videolan.org
Fri Jan 27 10:02:49 CET 2012


vlc | branch: master | Martin Storsjö <martin at martin.st> | Fri Jan 27 10:32:22 2012 +0200| [94d0697da224b6f9bd41df49d6a221b36d0acbbc] | committer: Rafaël Carré

omxil: Ignore OMX.google.* codecs

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 at videolan.org>

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

 modules/codec/omxil/omxil.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index ab81196..3f735a6 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -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);



More information about the vlc-commits mailing list