[rhythmbox/gstreamer-1.0] xfade: only block downstream flow
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gstreamer-1.0] xfade: only block downstream flow
- Date: Wed, 7 Nov 2012 22:31:02 +0000 (UTC)
commit b503e783ba802dd2af6b23d9b68ed8866dcc182a
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Nov 8 08:28:13 2012 +1000
xfade: only block downstream flow
Playback sort of works now.
backends/gstreamer/rb-player-gst-xfade.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-xfade.c b/backends/gstreamer/rb-player-gst-xfade.c
index 164c353..cb19bd7 100644
--- a/backends/gstreamer/rb-player-gst-xfade.c
+++ b/backends/gstreamer/rb-player-gst-xfade.c
@@ -1275,7 +1275,7 @@ unlink_reuse_relink (RBPlayerGstXFade *player, RBXFadeStream *stream)
* before we get around to relinking
*/
gst_pad_add_probe (stream->src_pad,
- GST_PAD_PROBE_TYPE_BLOCK,
+ GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
(GstPadProbeCallback) unlink_reuse_blocked_cb,
stream,
NULL);
@@ -2523,7 +2523,7 @@ preroll_stream (RBPlayerGstXFade *player, RBXFadeStream *stream)
stream->block_probe_id =
gst_pad_add_probe (stream->src_pad,
- GST_PAD_PROBE_TYPE_BLOCK,
+ GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
(GstPadProbeCallback) stream_src_blocked_cb,
stream,
NULL);
@@ -3780,7 +3780,7 @@ rb_player_gst_xfade_set_time (RBPlayer *iplayer, gint64 time)
stream);
*/
gst_pad_add_probe (stream->src_pad,
- GST_PAD_PROBE_TYPE_BLOCK,
+ GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
(GstPadProbeCallback) post_eos_seek_blocked_cb,
stream,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]