diff --git a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c index 7d03a79b37..a914aa0603 100644 --- a/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c +++ b/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c @@ -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