summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsrc.h
diff options
context:
space:
mode:
authorBruno Santos <brunof@ua.pt>2008-05-21 09:56:02 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-05-21 09:56:02 +0000
commit570718c2feb3093e2c3a682b48734f4cac20a164 (patch)
treed91a2aac4f2967d3fe9246c4cf0b95e45d06ad00 /gst/udp/gstudpsrc.h
parent94fb1d987043113b847131f86b3b096d7dbea8a1 (diff)
gst/udp/gstudpnetutils.*: Provide a bunch of helper methods to deal with IPv4 and IPv6 transparently.
Original commit message from CVS: Patch by: Bruno Santos <brunof at ua dot pt> * gst/udp/gstudpnetutils.c: (gst_udp_get_addr), (gst_udp_join_group), (gst_udp_leave_group), (gst_udp_is_multicast): * gst/udp/gstudpnetutils.h: Provide a bunch of helper methods to deal with IPv4 and IPv6 transparently. * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init), (gst_multiudpsink_init), (gst_multiudpsink_set_property), (gst_multiudpsink_get_property), (join_multicast), (gst_multiudpsink_init_send), (gst_multiudpsink_add_internal), (gst_multiudpsink_remove): * gst/udp/gstmultiudpsink.h: Add multicast TTL and loopback properties. Use the helper methods to implement ip4 and ip6. * gst/udp/gstudpsrc.c: (gst_udpsrc_create), (gst_udpsrc_start): * gst/udp/gstudpsrc.h: Use the helper methods to implement ip4 and ip6. Fixes #515962.
Diffstat (limited to 'gst/udp/gstudpsrc.h')
-rw-r--r--gst/udp/gstudpsrc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/udp/gstudpsrc.h b/gst/udp/gstudpsrc.h
index e736a592..597a6a70 100644
--- a/gst/udp/gstudpsrc.h
+++ b/gst/udp/gstudpsrc.h
@@ -68,8 +68,7 @@ struct _GstUDPSrc {
GstPoll *fdset;
gboolean externalfd;
- struct sockaddr_in myaddr;
- struct ip_mreq multi_addr;
+ struct sockaddr_storage myaddr;
};
struct _GstUDPSrcClass {