gstffmpegdec: Don't enable xvmc decoders, we can't support the output
authorEdward Hervey <bilboed@bilboed.com>
Thu, 18 Feb 2010 12:28:40 +0000 (13:28 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 18 Feb 2010 12:29:35 +0000 (13:29 +0100)
ext/ffmpeg/gstffmpegdec.c

index a2c081b6ed52802cc60faba29d5eb4a1c3fca7c2..0b3e92e9e28f93a858bbe21c0054a670d35598c7 100644 (file)
@@ -2810,6 +2810,13 @@ gst_ffmpegdec_register (GstPlugin * plugin)
       goto next;
     }
 
+    if (g_str_has_suffix (in_plugin->name, "_xvmc")) {
+      GST_DEBUG
+          ("Ignoring XVMC decoder %s. We can't handle this outside of ffmpeg",
+          in_plugin->name);
+      goto next;
+    }
+
     GST_DEBUG ("Trying plugin %s [%s]", in_plugin->name, in_plugin->long_name);
 
     /* no codecs for which we're GUARANTEED to have better alternatives */