From f880abba46fb5f91d54f9988a963a41de7adad0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 22 Nov 2024 19:36:46 +0200 Subject: [PATCH] rtspsrc: Don't set pad event/query function twice Part-of: --- subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index 8f09658b44..7979b6d7a9 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -5364,8 +5364,6 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream, name = g_strdup_printf ("stream_%u", stream->id); template = gst_static_pad_template_get (&rtptemplate); stream->srcpad = gst_ghost_pad_new_from_template (name, outpad, template); - gst_pad_set_event_function (stream->srcpad, gst_rtspsrc_handle_src_event); - gst_pad_set_query_function (stream->srcpad, gst_rtspsrc_handle_src_query); gst_object_unref (template); g_free (name);