From: Gilbok Lee Date: Thu, 21 Jan 2021 07:41:21 +0000 (+0900) Subject: v4l2videodec: Increase v4l2videodecoder rank X-Git-Tag: accepted/tizen/unified/20210225.130544^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3407b5c28321ad99500521fa9ed7e1af448a64aa;p=platform%2Fupstream%2Fgst-plugins-good.git v4l2videodec: Increase v4l2videodecoder rank Change-Id: I7184c9e504b1fb093eedc3c16172fb318ec35a8a (cherry picked from commit a0de2b21c90b4adc3bc1db3b4c25116c41ba9a96) --- diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index 72ab367..fbca86c 100644 --- a/packaging/gst-plugins-good.spec +++ b/packaging/gst-plugins-good.spec @@ -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/ diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c index 0fbd7f6..9261571 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c @@ -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); }