summaryrefslogtreecommitdiffstats
path: root/gst/udp/gstudpsrc.h
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@gmail.com>2003-06-09 23:13:40 +0000
committerZeeshan Ali <zeenix@gmail.com>2003-06-09 23:13:40 +0000
commit8d3275ce496233345e6b49cec205f55f6a5c7436 (patch)
treed595e2793f27e2114a227b874b65bbdd37de2d59 /gst/udp/gstudpsrc.h
parent5f9547b0567d384797949031cc9b7f4fd8be4edb (diff)
Congrats everyone! udp plugins are now multicast-enabled
Original commit message from CVS: Congrats everyone! udp plugins are now multicast-enabled
Diffstat (limited to 'gst/udp/gstudpsrc.h')
-rw-r--r--gst/udp/gstudpsrc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/udp/gstudpsrc.h b/gst/udp/gstudpsrc.h
index 6fd01cfc..3311db7f 100644
--- a/gst/udp/gstudpsrc.h
+++ b/gst/udp/gstudpsrc.h
@@ -33,6 +33,9 @@ extern "C" {
#include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
#include <fcntl.h>
#include "gstudp.h"
@@ -66,7 +69,10 @@ struct _GstUDPSrc {
int sock;
int control_sock;
Gst_UDP_Control control;
+ gchar *multi_group;
+
struct sockaddr_in myaddr;
+ struct ip_mreq multi_addr;
GstClock *clock;
gboolean first_buf;