mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +00:00
timeline-pipeline: Clean the blocked pad
We do need to cleanup the pad now, otherwise the probe will get remove a second time in pad_removed_cb causing an assertion.
This commit is contained in:
parent
4302188011
commit
b3e1bd5dbb
1 changed files with 2 additions and 1 deletions
|
@ -621,8 +621,9 @@ no_more_pads_cb (GstElement * timeline, GESTimelinePipeline * self)
|
|||
if (chain->blocked_pad) {
|
||||
GST_DEBUG_OBJECT (chain->blocked_pad, "unblocking pad");
|
||||
gst_pad_remove_probe (chain->blocked_pad, chain->probe_id);
|
||||
gst_object_unref (chain->blocked_pad);
|
||||
chain->blocked_pad = NULL;
|
||||
chain->probe_id = 0;
|
||||
/* do we need to unref and NULL the pad here? */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue