[vlc-commits] omxil: Blacklist nVidia secure codec

Jean-Baptiste Kempf git at videolan.org
Tue Jun 26 23:05:25 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 26 22:50:43 2012 +0200| [f10427d0302a39c6222920380c0fb578170ee66a] | committer: Jean-Baptiste Kempf

omxil: Blacklist nVidia secure codec

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

 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 f65c85c..8cd24f5 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -980,6 +980,9 @@ loaded:
          * has got a working OMX.qcom.video.decoder.avc instead though. */
         if (!strncmp(p_sys->ppsz_components[i], "OMX.ARICENT.", 12))
             continue;
+        /* Some nVidia codec with DRM */
+        if (!strncmp(p_sys->ppsz_components[i], "OMX.Nvidia.h264.decode.secure", 29))
+            continue;
 #endif
         omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
                                         &p_sys->omx_handle);



More information about the vlc-commits mailing list