mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
rtspsrc: fix ttl setting for udpsink[1]
Fix ttl setting being incorrectly applied to udpsink[0] rather than to udpsink[1]. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5955>
This commit is contained in:
parent
da55b953a1
commit
1d02d7eda0
1 changed files with 1 additions and 1 deletions
|
@ -4846,7 +4846,7 @@ gst_rtspsrc_stream_configure_udp_sinks (GstRTSPSrc * src,
|
|||
g_object_set (G_OBJECT (stream->udpsink[1]), "multicast-iface",
|
||||
src->multi_iface, NULL);
|
||||
if (ttl > 0)
|
||||
g_object_set (G_OBJECT (stream->udpsink[0]), "ttl", ttl, NULL);
|
||||
g_object_set (G_OBJECT (stream->udpsink[1]), "ttl", ttl, NULL);
|
||||
|
||||
if (stream->udpsrc[1]) {
|
||||
/* configure socket, we give it the same UDP socket as the udpsrc for RTCP
|
||||
|
|
Loading…
Reference in a new issue