From ed264d64b0186432e9da836768ef6dd1e12dc195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Maillart?= Date: Wed, 25 Sep 2024 15:32:20 +0200 Subject: [PATCH] decodebin3: remove output event probe on remove input stream Part-of: --- subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c index 6d2d97b8f1..00397fbf3f 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -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); }