[rhythmbox] gst-helper: IDLE pad probes don't do enough, we need BLOCK_DOWNSTREAM



commit e495ccd7146a877b1f365e5244975dc729a85274
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Mar 31 15:47:49 2013 +1000

    gst-helper: IDLE pad probes don't do enough, we need BLOCK_DOWNSTREAM

 backends/gstreamer/rb-player-gst-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gstreamer/rb-player-gst-helper.c b/backends/gstreamer/rb-player-gst-helper.c
index cb5c723..5ff2db5 100644
--- a/backends/gstreamer/rb-player-gst-helper.c
+++ b/backends/gstreamer/rb-player-gst-helper.c
@@ -381,7 +381,7 @@ pipeline_op (GObject *player,
                rb_debug ("blocking pad %s to perform an operation", whatpad);
                g_free (whatpad);
 
-               gst_pad_add_probe (block_pad, GST_PAD_PROBE_TYPE_IDLE, callback, op, NULL);
+               gst_pad_add_probe (block_pad, GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, callback, op, NULL);
        } else {
                rb_debug ("not using pad blocking, calling op directly");
                (*callback) (block_pad, NULL, op);


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