[vlc-commits] omxil: Skip OMX.SEC.WMV.Decoder

Martin Storsjö git at videolan.org
Wed Jan 30 15:37:57 CET 2013


vlc | branch: master | Martin Storsjö <martin at martin.st> | Tue Jan 29 17:55:08 2013 +0200| [e47ff3ff688d2ba42be257205dc262edf0f8af04] | committer: Jean-Baptiste Kempf

omxil: Skip OMX.SEC.WMV.Decoder

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).

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

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

 modules/codec/omxil/omxil.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index bca6354..31038eb 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -1009,6 +1009,9 @@ loaded:
         /* Some nVidia codec with DRM */
         if (!strncmp(p_sys->ppsz_components[i], "OMX.Nvidia.h264.decode.secure", 29))
             continue;
+        /* Use VC1 decoder for WMV3 for now */
+        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);



More information about the vlc-commits mailing list