diff options
author | Jarkko Palviainen <jarkko.palviainen at sesca.com> | 2009-08-31 12:13:07 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-08-31 12:13:07 +0200 |
commit | e2518fedbe8f6eb9cf1cf456381a5e350e2c4001 (patch) | |
tree | af41603f10b6a07b6581378598f1e44558c1fcfa /gst/udp/gstudpnetutils.h | |
parent | 6a53d0a2c983bfeac2f02c9ef9cd3ff155f4e4fd (diff) |
udp: split out TTL and loop options
Split setting the TTL and loop parameters in 2 methods as they are not related.
Fix setting the TTL correctly for multicast streams.
See #588245
Diffstat (limited to 'gst/udp/gstudpnetutils.h')
-rw-r--r-- | gst/udp/gstudpnetutils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/udp/gstudpnetutils.h b/gst/udp/gstudpnetutils.h index b8f49a73..faaece90 100644 --- a/gst/udp/gstudpnetutils.h +++ b/gst/udp/gstudpnetutils.h @@ -80,7 +80,8 @@ int gst_udp_get_sockaddr_length(struct sockaddr_storage *addr); int gst_udp_get_addr (const char *hostname, int port, struct sockaddr_storage *addr); int gst_udp_is_multicast (struct sockaddr_storage *addr); -int gst_udp_set_loop_ttl (int sockfd, gboolean loop, int ttl); +int gst_udp_set_loop (int sockfd, gboolean loop); +int gst_udp_set_ttl (int sockfd, int ttl, gboolean is_multicast); int gst_udp_join_group (int sockfd, struct sockaddr_storage *addr, gchar *iface); |