v4l2videodec: Set rank to GST_RANK_PRIMARY
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 30 Mar 2017 04:01:05 +0000 (13:01 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Thu, 30 Mar 2017 04:19:48 +0000 (13:19 +0900)
Change-Id: If9c79874dc4af246f485b63c151ff732bc31abc9

sys/v4l2/gstv4l2videodec.c

index f06e4f6..81d8306 100644 (file)
@@ -899,7 +899,7 @@ gst_v4l2_video_dec_register (GstPlugin * plugin, const gchar * basename,
   type_name = g_strdup_printf ("v4l2%sdec", basename);
   subtype = g_type_register_static (type, type_name, &type_info, 0);
 
-  gst_element_register (plugin, type_name, GST_RANK_PRIMARY + 1, subtype);
+  gst_element_register (plugin, type_name, GST_RANK_PRIMARY, subtype);
 
   g_free (type_name);