diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2008-02-28 11:51:24 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-02-28 11:51:24 +0000 |
commit | 9c814472e56ed0a6c70755cf9c70860a5fb32e08 (patch) | |
tree | 79b2ef003eab9c71c5d7829abc84c40fa36cc59f /gst/udp/gstudpsrc.h | |
parent | 593528c5f6bde202cf4f420afd077084ca153dd3 (diff) |
gst/udp/gstudpsrc.*: Port to GstPoll. See #505417.
Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj at axis com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create),
(gst_udpsrc_get_property), (gst_udpsrc_start), (gst_udpsrc_unlock),
(gst_udpsrc_unlock_stop), (gst_udpsrc_stop):
* gst/udp/gstudpsrc.h:
Port to GstPoll. See #505417.
Diffstat (limited to 'gst/udp/gstudpsrc.h')
-rw-r--r-- | gst/udp/gstudpsrc.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gst/udp/gstudpsrc.h b/gst/udp/gstudpsrc.h index c672d2a2..e736a592 100644 --- a/gst/udp/gstudpsrc.h +++ b/gst/udp/gstudpsrc.h @@ -52,21 +52,21 @@ struct _GstUDPSrc { GstPushSrc parent; /* properties */ - gchar *uri; - int port; - gchar *multi_group; - gint ttl; - GstCaps *caps; - gint buffer_size; - guint64 timeout; - gint skip_first_bytes; - int sockfd; - gboolean closefd; + gchar *uri; + int port; + gchar *multi_group; + gint ttl; + GstCaps *caps; + gint buffer_size; + guint64 timeout; + gint skip_first_bytes; + int sockfd; + gboolean closefd; /* our sockets */ - int sock; - int control_sock[2]; - gboolean externalfd; + GstPollFD sock; + GstPoll *fdset; + gboolean externalfd; struct sockaddr_in myaddr; struct ip_mreq multi_addr; |