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:
Théo Maillart 2024-09-25 15:32:20 +02:00 committed by GStreamer Marge Bot
parent 94c393341c
commit 3b6f6073e4

View file

@ -1252,6 +1252,8 @@ remove_input_stream (GstDecodebin3 * dbin, DecodebinInputStream * stream)
}
if (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);
}