Hello community,

here is the log from the commit of package gst-rtsp-server for openSUSE:Factory 
checked in at 2015-08-07 00:24:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gst-rtsp-server (Old)
 and      /work/SRC/openSUSE:Factory/.gst-rtsp-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gst-rtsp-server"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gst-rtsp-server/gst-rtsp-server.changes  
2015-01-03 22:01:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.gst-rtsp-server.new/gst-rtsp-server.changes     
2015-08-07 00:24:03.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Aug  5 13:59:12 UTC 2015 - zai...@opensuse.org
+
+- Add grs-rtsp-fix-double-unlock-in_get_buffer_size.patch: Fixes an
+  abort when calling gst_rtsp_media_get_buffer_size() because of
+  double g_mutex_unlock () usage (bgo#745434).
+
+-------------------------------------------------------------------

New:
----
  grs-rtsp-fix-double-unlock-in_get_buffer_size.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gst-rtsp-server.spec ++++++
--- /var/tmp/diff_new_pack.6Ui1GM/_old  2015-08-07 00:24:05.000000000 +0200
+++ /var/tmp/diff_new_pack.6Ui1GM/_new  2015-08-07 00:24:05.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gst-rtsp-server
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 Group:          Productivity/Multimedia/Other
 Url:            http://gstreamer.freedesktop.org/
 Source:         
http://gstreamer.freedesktop.org/src/gst-rtsp-server/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM grs-rtsp-fix-double-unlock-in_get_buffer_size.patch 
bgo#745434 zai...@opensuse.org -- rtsp-media: fix double unlock in 
_get_buffer_size(). Patch from upstream git.
+Patch0:         grs-rtsp-fix-double-unlock-in_get_buffer_size.patch
 BuildRequires:  gstreamer-plugins-good >= 1.4.0
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.31.1
 BuildRequires:  pkgconfig(gstreamer-1.0) >= 1.4.0
@@ -60,6 +62,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ grs-rtsp-fix-double-unlock-in_get_buffer_size.patch ++++++
>From 380be80184103a80435c5462c6a21d36e8683585 Mon Sep 17 00:00:00 2001
From: Gregor Boirie <gregor.boi...@parrot.com>
Date: Fri, 27 Feb 2015 17:45:42 +0100
Subject: rtsp-media: fix double unlock in _get_buffer_size()

Fixes an abort when calling gst_rtsp_media_get_buffer_size()
because of double g_mutex_unlock () usage.

https://bugzilla.gnome.org/show_bug.cgi?id=745434

diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c
index 6b81e25..a464642 100644
--- a/gst/rtsp-server/rtsp-media.c
+++ b/gst/rtsp-server/rtsp-media.c
@@ -1083,7 +1083,7 @@ gst_rtsp_media_get_buffer_size (GstRTSPMedia * media)
 
   priv = media->priv;
 
-  g_mutex_unlock (&priv->lock);
+  g_mutex_lock (&priv->lock);
   res = priv->buffer_size;
   g_mutex_unlock (&priv->lock);
 
-- 
cgit v0.10.2


Reply via email to