[rhythmbox/gstreamer-1.0: 39/39] xfade: forget about stopping the sink for now



commit 34e96363a12efdb2690c59a62cc112bdf6f326e5
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Dec 2 20:40:50 2012 +1000

    xfade: forget about stopping the sink for now
    
    adder seems to disagree with the sink about how timestamps should
    work after we restart the sink, resulting in skipping ahead or
    lengthy silences.  Until we get this sorted out, we can just
    leave the sink running.

 backends/gstreamer/rb-player-gst-xfade.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index db6f832..9544561 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -2953,6 +2953,7 @@ start_sink (RBPlayerGstXFade *player, GError **error)
 static gboolean
 stop_sink (RBPlayerGstXFade *player)
 {
+#if 0
 	GstStateChangeReturn sr;
 
 	switch (player->priv->sink_state) {
@@ -3008,6 +3009,8 @@ stop_sink (RBPlayerGstXFade *player)
 	}
 
 	return TRUE;
+#endif
+	return TRUE;
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]