Don't try to use the NVidia DRM codecs
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Oct 2012 12:36:55 +0000 (14:36 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 15 Oct 2012 14:28:43 +0000 (16:28 +0200)
sys/androidmedia/gstamc.c

index fb29c70..3d36e8a 100644 (file)
@@ -1675,6 +1675,13 @@ scan_codecs (GstPlugin * plugin)
       valid_codec = FALSE;
       goto next_codec;
     }
+
+    if (g_str_has_suffix (name_str, ".secure")) {
+      GST_INFO ("Skipping DRM codec '%s'", name_str);
+      valid_codec = FALSE;
+      goto next_codec;
+    }
+
     /* FIXME: Non-Google codecs usually just don't work and hang forever
      * or crash when not used from a process that started the Java
      * VM via the non-public AndroidRuntime class. Can we somehow