From: Gilbok Lee Date: Thu, 23 Mar 2023 00:50:55 +0000 (+0900) Subject: adaptivedemux/rtpmanager: Fix Coverity issues X-Git-Tag: accepted/tizen/unified/20230323.172522^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F290295%2F1;p=platform%2Fupstream%2Fgstreamer.git adaptivedemux/rtpmanager: Fix Coverity issues - adaptivedemux: missing GST_API_UNLOCK() - rtpmanager: missing config header [Version] 1.22.0-24 [Issue Type] Bug fix Change-Id: Id23a8a8faa40bce5110a2f5d8e2f420eaef20634 --- diff --git a/packaging/gstreamer.spec b/packaging/gstreamer.spec index 20fb796..9a94d4f 100644 --- a/packaging/gstreamer.spec +++ b/packaging/gstreamer.spec @@ -62,7 +62,7 @@ Name: %{_name} Version: 1.22.0 -Release: 23 +Release: 24 Summary: Streaming-Media Framework Runtime License: LGPL-2.0+ Group: Multimedia/Framework diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c index 2e45881..0107286 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux.c @@ -2030,6 +2030,9 @@ gst_adaptive_demux_handle_seek_event (GstAdaptiveDemux * demux, if (!GST_ADAPTIVE_SCHEDULER_LOCK (demux)) { GST_LOG_OBJECT (demux, "Failed to acquire scheduler context"); +#ifdef TIZEN_FEATURE_BUG_FIX + GST_API_UNLOCK (demux); +#endif return FALSE; } diff --git a/subprojects/gst-plugins-good/gst/rtpmanager/rtpsession.c b/subprojects/gst-plugins-good/gst/rtpmanager/rtpsession.c index b72bc5e..27ecd55 100644 --- a/subprojects/gst-plugins-good/gst/rtpmanager/rtpsession.c +++ b/subprojects/gst-plugins-good/gst/rtpmanager/rtpsession.c @@ -21,6 +21,10 @@ * with newer GLib versions (>= 2.31.0) */ #define GLIB_DISABLE_DEPRECATION_WARNINGS +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include