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

View file

@ -1133,6 +1133,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);
}