androidmedia: Skip Aricent codecs for now
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 31 Oct 2012 19:00:54 +0000 (20:00 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 16 Apr 2013 10:57:19 +0000 (12:57 +0200)
The HTC One X claims to have one (but doesn't) and loading
the library for it hangs forever.

sys/androidmedia/gstamc.c

index a1153b5a6850ab39ea44d64faea396057d989839..c8820acf217bb3b0a20e69f1f01bd2f6570dd1c5 100644 (file)
@@ -1692,6 +1692,12 @@ scan_codecs (GstPlugin * plugin)
       goto next_codec;
     }
 
+    if (g_str_has_prefix (name_str, "OMX.ARICENT.")) {
+      GST_INFO ("Skipping possible broken codec '%s'", name_str);
+      valid_codec = FALSE;
+      goto next_codec;
+    }
+
     /* FIXME:
      *   - Vorbis: Generates clicks for multi-channel streams
      *   - *Law: Generates output with too low frequencies