mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
rtspsrc: install event function on internal RTCP pad
Install a custom event function on the internal RTCP pad so that we can reply TRUE to a latency event.
This commit is contained in:
parent
6f51dfba95
commit
6a44d8e198
1 changed files with 1 additions and 0 deletions
|
@ -2205,6 +2205,7 @@ gst_rtspsrc_stream_configure_tcp (GstRTSPSrc * src, GstRTSPStream * stream,
|
|||
/* if we have a sinkpad for the other channel, create a pad and link to the
|
||||
* manager. */
|
||||
pad1 = gst_pad_new_from_template (template, "internalsrc1");
|
||||
gst_pad_set_event_function (pad1, gst_rtspsrc_handle_internal_src_event);
|
||||
gst_pad_link (pad1, stream->channelpad[1]);
|
||||
gst_object_unref (stream->channelpad[1]);
|
||||
stream->channelpad[1] = pad1;
|
||||
|
|
Loading…
Reference in a new issue