From 110452f10b7bcc71eeae9b8b5b07d56b944ff897 Mon Sep 17 00:00:00 2001 From: Hyunil Date: Wed, 20 May 2020 18:40:50 +0900 Subject: [PATCH] rtspsrc: increase plugin rank - to use rtspsrc when autoplugging in player decodebin3 Change-Id: If276b37fbc54170c2fbc172b84296f5a60a6c66f Signed-off-by: Hyunil --- gst/rtsp/gstrtsp.c | 6 ++++++ packaging/gst-plugins-good.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gst/rtsp/gstrtsp.c b/gst/rtsp/gstrtsp.c index 66e2c3f..eec4be4 100644 --- a/gst/rtsp/gstrtsp.c +++ b/gst/rtsp/gstrtsp.c @@ -58,9 +58,15 @@ plugin_init (GstPlugin * plugin) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); #endif /* ENABLE_NLS */ +#ifdef TIZEN_FEATURE_RTSP_MODIFICATION + if (!gst_element_register (plugin, "rtspsrc", GST_RANK_PRIMARY, + GST_TYPE_RTSPSRC)) + return FALSE; +#else if (!gst_element_register (plugin, "rtspsrc", GST_RANK_NONE, GST_TYPE_RTSPSRC)) return FALSE; +#endif if (!gst_element_register (plugin, "rtpdec", GST_RANK_NONE, GST_TYPE_RTP_DEC)) return FALSE; diff --git a/packaging/gst-plugins-good.spec b/packaging/gst-plugins-good.spec index c46a535..ef03d66 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: 1 +Release: 2 License: LGPL-2.1+ Summary: GStreamer Streaming-Media Framework Plug-Ins Url: http://gstreamer.freedesktop.org/ -- 2.7.4