diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-05-21 17:35:50 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-05-21 17:35:50 +0000 |
commit | e206f74bcea198673e6e64f04218d7c72a56efcd (patch) | |
tree | 47ff9b26c2813960bae7c522028e9e7f01773bd1 /gst/udp/gstudpnetutils.h | |
parent | 961eed538b8dff2f9ee059cf2ce45ecf0c715351 (diff) |
gst/udp/: Joining a multicast group and setting the loop/ttl properties are totally unrelated tasks are must be separ...
Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_init_send),
(gst_multiudpsink_add_internal):
* gst/udp/gstudpnetutils.c: (gst_udp_set_loop_ttl),
(gst_udp_join_group):
* gst/udp/gstudpnetutils.h:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Joining a multicast group and setting the loop/ttl properties are
totally unrelated tasks are must be separated.
Diffstat (limited to 'gst/udp/gstudpnetutils.h')
-rw-r--r-- | gst/udp/gstudpnetutils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/udp/gstudpnetutils.h b/gst/udp/gstudpnetutils.h index d098664c..68407f7a 100644 --- a/gst/udp/gstudpnetutils.h +++ b/gst/udp/gstudpnetutils.h @@ -74,7 +74,9 @@ gboolean gst_udp_net_utils_win32_wsa_startup (GstObject * obj); 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_join_group (int sockfd, gboolean loop, int ttl, struct sockaddr_storage *addr); +int gst_udp_set_loop_ttl (int sockfd, gboolean loop, int ttl); + +int gst_udp_join_group (int sockfd, struct sockaddr_storage *addr); int gst_udp_leave_group (int sockfd, struct sockaddr_storage *addr); #endif /* __GST_UDP_NET_UTILS_H__*/ |