mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-13 09:45:27 +00:00
rtspsrc: Don't set pad event/query function twice
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7946>
This commit is contained in:
parent
603e7c3e5f
commit
f880abba46
1 changed files with 0 additions and 2 deletions
|
@ -5364,8 +5364,6 @@ gst_rtspsrc_stream_configure_transport (GstRTSPStream * stream,
|
||||||
name = g_strdup_printf ("stream_%u", stream->id);
|
name = g_strdup_printf ("stream_%u", stream->id);
|
||||||
template = gst_static_pad_template_get (&rtptemplate);
|
template = gst_static_pad_template_get (&rtptemplate);
|
||||||
stream->srcpad = gst_ghost_pad_new_from_template (name, outpad, template);
|
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);
|
gst_object_unref (template);
|
||||||
g_free (name);
|
g_free (name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue