rpms/gstreamer/F-12 gstreamer-vis-stop.patch, NONE, 1.1 gstreamer.spec, 1.111, 1.112

Bastien Nocera hadess at fedoraproject.org
Thu Dec 24 13:03:18 UTC 2009


Author: hadess

Update of /cvs/pkgs/rpms/gstreamer/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28322

Modified Files:
	gstreamer.spec 
Added Files:
	gstreamer-vis-stop.patch 
Log Message:
* Thu Dec 24 2009 Bastien Nocera <bnocera at redhat.com> 0.10.25.1-3
- Fix visualisations hanging when seeking


gstreamer-vis-stop.patch:
 gstbin.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE gstreamer-vis-stop.patch ---
commit f44d8c31de98a1521be1092f163a987eff0fd799
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Fri Dec 11 16:26:00 2009 +0100

    bin: never skip a state change to PLAYING
    
    Never skip the state change to playing, even if the element is already in the
    right state. We need this because we also distribute the base_time while doing
    the state change and skipping this step would leave some elements without a new
    base_time.
    
    Fixes #600313

diff --git a/gst/gstbin.c b/gst/gstbin.c
index cef35b9..039aca1 100644
--- a/gst/gstbin.c
+++ b/gst/gstbin.c
@@ -2073,7 +2073,7 @@ gst_bin_element_set_state (GstBin * bin, GstElement * element,
 
   /* Try not to change the state of elements that are already in the state we're
    * going to */
-  if (!(child_pending != GST_STATE_VOID_PENDING ||
+  if (!(next == GST_STATE_PLAYING || child_pending != GST_STATE_VOID_PENDING ||
           (child_pending == GST_STATE_VOID_PENDING &&
               ((pending > child_current && next > child_current) ||
                   (pending < child_current && next < child_current)))))


Index: gstreamer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer/F-12/gstreamer.spec,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -r1.111 -r1.112
--- gstreamer.spec	30 Nov 2009 14:54:48 -0000	1.111
+++ gstreamer.spec	24 Dec 2009 13:03:17 -0000	1.112
@@ -6,7 +6,7 @@
 
 Name: 		%{gstreamer}
 Version: 	0.10.25.1
-Release: 	2%{?dist}
+Release: 	3%{?dist}
 Summary: 	GStreamer streaming media framework runtime
 
 Group: 		Applications/Multimedia
@@ -46,6 +46,8 @@ Source1:	gstreamer.prov
 Source2:	macros.gstreamer
 # https://bugzilla.gnome.org/show_bug.cgi?id=595958
 Patch2:		0001-basesink-fix-position-reporting.patch
+# https://bugzilla.gnome.org/show_bug.cgi?id=600313
+Patch3:		gstreamer-vis-stop.patch
 
 ### documentation requirements
 BuildRequires:  python2
@@ -113,6 +115,7 @@ with different major/minor versions of G
 
 %patch1 -p1 -b .rpm-provides
 %patch2 -p1 -b .stepping-position
+%patch3 -p1 -b .vis-stop
 
 %build
 # 0.10.0: manuals do not build due to an openjade error; disable for now
@@ -223,6 +226,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/rpm/macros.gstreamer
 
 %changelog
+* Thu Dec 24 2009 Bastien Nocera <bnocera at redhat.com> 0.10.25.1-3
+- Fix visualisations hanging when seeking
+
 * Mon Nov 30 2009 Bastien Nocera <bnocera at redhat.com> 0.10.25.1-2
 - Fix position reporting when using stepping
 




More information about the scm-commits mailing list