mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
decodebin3: remove output event probe on remove input stream
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7586>
This commit is contained in:
parent
b21ffc6b9f
commit
ed264d64b0
1 changed files with 2 additions and 0 deletions
|
@ -1133,6 +1133,8 @@ remove_input_stream (GstDecodebin3 * dbin, DecodebinInputStream * stream)
|
||||||
}
|
}
|
||||||
if (stream->buffer_probe_id)
|
if (stream->buffer_probe_id)
|
||||||
gst_pad_remove_probe (stream->srcpad, stream->buffer_probe_id);
|
gst_pad_remove_probe (stream->srcpad, stream->buffer_probe_id);
|
||||||
|
if (stream->output_event_probe_id)
|
||||||
|
gst_pad_remove_probe (stream->srcpad, stream->output_event_probe_id);
|
||||||
gst_object_unref (stream->srcpad);
|
gst_object_unref (stream->srcpad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue