mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
decodebin3: remove output event probe on remove input stream
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7605>
This commit is contained in:
parent
94c393341c
commit
3b6f6073e4
1 changed files with 2 additions and 0 deletions
|
@ -1252,6 +1252,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