mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
timeline-pipeline: use downstream block probe to avoid deadlock on duration query
This commit is contained in:
parent
b3e1bd5dbb
commit
76ccc417c8
1 changed files with 2 additions and 2 deletions
|
@ -483,8 +483,8 @@ pad_added_cb (GstElement * timeline, GstPad * pad, GESTimelinePipeline * self)
|
|||
}
|
||||
chain->blocked_pad = tmppad;
|
||||
GST_DEBUG_OBJECT (tmppad, "blocking pad");
|
||||
chain->probe_id = gst_pad_add_probe (tmppad, GST_PAD_PROBE_TYPE_BLOCK,
|
||||
pad_blocked, NULL, NULL);
|
||||
chain->probe_id = gst_pad_add_probe (tmppad,
|
||||
GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM, pad_blocked, NULL, NULL);
|
||||
|
||||
GST_DEBUG ("Reconfiguring playsink");
|
||||
|
||||
|
|
Loading…
Reference in a new issue