Decreased mpeg2dec rank so that ducatimpeg2dec is prefered
authorOlivier Naudan <o-naudan@ti.com>
Wed, 30 Nov 2011 14:16:22 +0000 (15:16 +0100)
committerNikhil Devshatwar <a0132237@ti.com>
Fri, 17 May 2013 09:40:55 +0000 (15:10 +0530)
ext/mpeg2dec/gstmpeg2dec.c

index 51c47e66d6522f0eac92148cf39875c26aa0b4ec..856f9ad2be509e9d02345a9514c27d80027b2c86 100644 (file)
@@ -1813,7 +1813,7 @@ init_failed:
 static gboolean
 plugin_init (GstPlugin * plugin)
 {
-  if (!gst_element_register (plugin, "mpeg2dec", GST_RANK_PRIMARY,
+  if (!gst_element_register (plugin, "mpeg2dec", GST_RANK_SECONDARY,
           GST_TYPE_MPEG2DEC))
     return FALSE;