Marking rank of vaapidecodebin as GST_RANK_MARGINAL for now.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 7 Jul 2015 17:57:20 +0000 (20:57 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 7 Jul 2015 17:57:20 +0000 (20:57 +0300)
Unfortunately vaapidecodebin element is not seems to be stable
enough for autoplugging ahead of vaapidecode.
Lowering the rank for now (cosidering the immediate 0.6 release).

See this: https://bugzilla.gnome.org/show_bug.cgi?id=749554

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
gst/vaapi/gstvaapi.c

index 3ad0ec0..ee44859 100644 (file)
@@ -81,7 +81,7 @@ plugin_init (GstPlugin * plugin)
 
 #if GST_CHECK_VERSION(1,4,0)
   gst_element_register (plugin, "vaapidecodebin",
-      GST_RANK_PRIMARY + 2, GST_TYPE_VAAPI_DECODE_BIN);
+      GST_RANK_MARGINAL, GST_TYPE_VAAPI_DECODE_BIN);
 #endif
   return TRUE;
 }