summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsrc.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2008-05-21 17:35:50 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-21 17:35:50 +0000
commite206f74bcea198673e6e64f04218d7c72a56efcd (patch)
tree47ff9b26c2813960bae7c522028e9e7f01773bd1 /gst/udp/gstudpsrc.c
parent961eed538b8dff2f9ee059cf2ce45ecf0c715351 (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/gstudpsrc.c')
-rw-r--r--gst/udp/gstudpsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 2927cdf6..40d91537 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -738,7 +738,7 @@ gst_udpsrc_start (GstBaseSrc * bsrc)
}
if (gst_udp_is_multicast (&src->myaddr)) {
- ret = gst_udp_join_group (src->sock.fd, TRUE, src->ttl, &src->myaddr);
+ ret = gst_udp_join_group (src->sock.fd, &src->myaddr);
if (ret < 0)
goto membership;
}