From 3407b5c28321ad99500521fa9ed7e1af448a64aa Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Thu, 21 Jan 2021 16:41:21 +0900 Subject: [PATCH] v4l2videodec: Increase v4l2videodecoder rank Change-Id: I7184c9e504b1fb093eedc3c16172fb318ec35a8a (cherry picked from commit a0de2b21c90b4adc3bc1db3b4c25116c41ba9a96) --- packaging/gst-plugins-good.spec | 2 +- sys/v4l2/gstv4l2videodec.c | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) 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); } -- 2.7.4