From a774dfb18fc9c2e66f67a2b47336e18a3fd10c34 Mon Sep 17 00:00:00 2001 From: Marc Leeman Date: Thu, 17 Sep 2020 15:06:38 +0200 Subject: [PATCH] rtpmanagerbad: do not set iface on sink Part-of: --- subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c | 1 - subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c b/subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c index c3103a8..0a2e600 100644 --- a/subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c +++ b/subprojects/gst-plugins-bad/gst/rtp/gstrtpsrc.c @@ -703,7 +703,6 @@ gst_rtp_src_start (GstRtpSrc * self) /* set multicast-iface on the udpsrc and udpsink elements */ g_object_set (self->rtcp_src, "multicast-iface", self->multi_iface, NULL); - g_object_set (self->rtcp_sink, "multicast-iface", self->multi_iface, NULL); g_object_set (self->rtp_src, "multicast-iface", self->multi_iface, NULL); } else { /* In unicast, send RTCP to the detected sender address */ diff --git a/subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c b/subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c index 68a519b..3065a56 100644 --- a/subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c +++ b/subprojects/gst-plugins-bad/tests/check/elements/rtpsrc.c @@ -28,7 +28,7 @@ GST_START_TEST (test_uri_to_properties) /* Sets properties to non-default values (make sure this stays in sync) */ g_object_set (rtpsrc, "uri", "rtp://1.230.1.2:1234?" - "latency=300" "&ttl=8" "&ttl-mc=9", NULL); + "latency=300" "&ttl=8" "&ttl-mc=9" "&multicast-iface=dummy", NULL); g_object_get (rtpsrc, "latency", &latency, "ttl-mc", &ttl_mc, "ttl", &ttl, NULL); -- 2.7.4