From 3b6f6073e4e863a3ce87ab4cf2161ca0dba57c0e 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 d52c7ac744..8124f91a76 100644 --- a/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c +++ b/subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c @@ -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); }