[vlc-devel] [PATCH 2/4] omxil: Skip OMX.SEC.WMV.Decoder

Martin Storsjö martin at martin.st
Tue Jan 29 16:55:08 CET 2013


This one doesn't seem to work for either VC1 or WMV3 at the moment
(on Android 4.1.2 on Galaxy S3), while OMX.SEC.vc1.dec works (for
both codecs).
---
 modules/codec/omxil/omxil.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index 7494c8a..b36d768 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -1007,6 +1007,8 @@ loaded:
         /* Some nVidia codec with DRM */
         if (!strncmp(p_sys->ppsz_components[i], "OMX.Nvidia.h264.decode.secure", 29))
             continue;
+        if (!strcmp(p_sys->ppsz_components[i], "OMX.SEC.WMV.Decoder"))
+            continue;
 #endif
         omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
                                         &p_sys->omx_handle);
-- 
1.7.10.4




More information about the vlc-devel mailing list