mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1546>
This commit is contained in:
parent
7bf0c5b7be
commit
9e58632c71
1 changed files with 0 additions and 2 deletions
|
@ -226,7 +226,6 @@ setup_sockets (void)
|
||||||
if (!socket_event)
|
if (!socket_event)
|
||||||
g_error ("Couldn't create event socket: %s", err->message);
|
g_error ("Couldn't create event socket: %s", err->message);
|
||||||
g_clear_error (&err);
|
g_clear_error (&err);
|
||||||
g_socket_set_multicast_loopback (socket_event, FALSE);
|
|
||||||
|
|
||||||
socket_general =
|
socket_general =
|
||||||
g_socket_new (G_SOCKET_FAMILY_IPV4, G_SOCKET_TYPE_DATAGRAM,
|
g_socket_new (G_SOCKET_FAMILY_IPV4, G_SOCKET_TYPE_DATAGRAM,
|
||||||
|
@ -234,7 +233,6 @@ setup_sockets (void)
|
||||||
if (!socket_general)
|
if (!socket_general)
|
||||||
g_error ("Couldn't create general socket: %s", err->message);
|
g_error ("Couldn't create general socket: %s", err->message);
|
||||||
g_clear_error (&err);
|
g_clear_error (&err);
|
||||||
g_socket_set_multicast_loopback (socket_general, FALSE);
|
|
||||||
|
|
||||||
/* Bind sockets */
|
/* Bind sockets */
|
||||||
bind_addr = g_inet_address_new_any (G_SOCKET_FAMILY_IPV4);
|
bind_addr = g_inet_address_new_any (G_SOCKET_FAMILY_IPV4);
|
||||||
|
|
Loading…
Reference in a new issue