v4l2videodec: Increase v4l2videodecoder rank
authorGilbok Lee <gilbok.lee@samsung.com>
Thu, 21 Jan 2021 07:41:21 +0000 (16:41 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 23 Feb 2021 07:07:22 +0000 (16:07 +0900)
Change-Id: I7184c9e504b1fb093eedc3c16172fb318ec35a8a
(cherry picked from commit a0de2b21c90b4adc3bc1db3b4c25116c41ba9a96)

packaging/gst-plugins-good.spec
sys/v4l2/gstv4l2videodec.c

index 72ab367..fbca86c 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           gst-plugins-good
 Version:        1.16.2
-Release:        21
+Release:        22
 License:        LGPL-2.1+
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
 Url:            http://gstreamer.freedesktop.org/
index 0fbd7f6..9261571 100644 (file)
@@ -1247,15 +1247,10 @@ gst_v4l2_video_dec_register (GstPlugin * plugin, const gchar * basename,
     type_info.instance_init = gst_v4l2_video_dec_subinstance_init;
 
     subtype = g_type_register_static (type, type_name, &type_info, 0);
-#ifdef TIZEN_FEATURE_V4L2VIDEO_ADJ_RANK
-    if (!gst_element_register (plugin, type_name, GST_RANK_PRIMARY,
-            subtype))
-      GST_WARNING ("Failed to register plugin '%s'", type_name);
-#else
+
     if (!gst_element_register (plugin, type_name, GST_RANK_PRIMARY + 1,
             subtype))
       GST_WARNING ("Failed to register plugin '%s'", type_name);
-#endif
 
     g_free (type_name);
   }