[rhythmbox/gstreamer-1.0: 28/39] xfade: only block downstream flow
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gstreamer-1.0: 28/39] xfade: only block downstream flow
- Date: Sun, 2 Dec 2012 10:48:31 +0000 (UTC)
commit a232f12d6604204120f0a9e8f36627384b6b8049
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]