[rhythmbox/gstreamer-1.0: 33/39] xfade: need to explicitly request flush events in the stream probe



commit ac3bc9721d1d43c354afb50a225b8dfe1e2216bc
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Nov 10 20:40:02 2012 +1000

    xfade: need to explicitly request flush events in the stream probe

 backends/gstreamer/rb-player-gst-xfade.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index ff2ce3b..e265268 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -2250,7 +2250,7 @@ create_stream (RBPlayerGstXFade *player, const char *uri, gpointer stream_data,
 
 	/* watch for EOS events using a pad probe */
 	gst_pad_add_probe (stream->src_pad,
-			   GST_PAD_PROBE_TYPE_EVENT_BOTH,
+			   GST_PAD_PROBE_TYPE_EVENT_BOTH | GST_PAD_PROBE_TYPE_EVENT_FLUSH,
 			   (GstPadProbeCallback) stream_src_event_cb,
 			   stream,
 			   NULL);



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