Commit 68fbcf05 authored by Jonathan Matthew's avatar Jonathan Matthew 🥗
Browse files

xfade: fix probe type for blocking streams to be unlinked

we need both BLOCK_DOWNSTREAM and IDLE here as we want to block
streams that may not have any data flowing, but we can't allow
any data that is currently flowing to pass.
parent 8328a140
......@@ -1378,7 +1378,7 @@ unlink_and_block_stream (RBXFadeStream *stream)
} else {
g_assert (stream->block_probe_id == 0);
stream->block_probe_id = gst_pad_add_probe (stream->src_pad,
GST_PAD_PROBE_TYPE_IDLE,
GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
(GstPadProbeCallback) unlink_blocked_cb,
stream,
NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment