From: Nirbheek Chauhan Date: Thu, 4 Nov 2021 07:54:57 +0000 (+0530) Subject: gst-ptp-helper: Do not disable multicast loopback X-Git-Tag: 1.20.0~343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=557d385d6ce5de1644cfdc592f316005a447e441;p=platform%2Fupstream%2Fgstreamer.git gst-ptp-helper: Do not disable multicast loopback Otherwise we cannot run gst-ptp-helper if the PTP master is on the same device. Part-of: --- diff --git a/subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper.c b/subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper.c index 91a2570..4e8ab36 100644 --- a/subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper.c +++ b/subprojects/gstreamer/libs/gst/helpers/gst-ptp-helper.c @@ -226,7 +226,6 @@ setup_sockets (void) if (!socket_event) g_error ("Couldn't create event socket: %s", err->message); g_clear_error (&err); - g_socket_set_multicast_loopback (socket_event, FALSE); socket_general = g_socket_new (G_SOCKET_FAMILY_IPV4, G_SOCKET_TYPE_DATAGRAM, @@ -234,7 +233,6 @@ setup_sockets (void) if (!socket_general) g_error ("Couldn't create general socket: %s", err->message); g_clear_error (&err); - g_socket_set_multicast_loopback (socket_general, FALSE); /* Bind sockets */ bind_addr = g_inet_address_new_any (G_SOCKET_FAMILY_IPV4);