mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
UDP plugins will work for RedHatians too
Original commit message from CVS: UDP plugins will work for RedHatians too
This commit is contained in:
parent
7b3955e369
commit
1125f6c41c
2 changed files with 2 additions and 8 deletions
|
@ -123,7 +123,8 @@ gst_udpsrc_get (GstPad *pad)
|
|||
GstUDPSrc *udpsrc;
|
||||
GstBuffer *outbuf;
|
||||
struct sockaddr_in tmpaddr;
|
||||
int len, numbytes;
|
||||
socklen_t len;
|
||||
gint numbytes;
|
||||
fd_set read_fds;
|
||||
|
||||
g_return_val_if_fail (pad != NULL, NULL);
|
||||
|
@ -142,7 +143,6 @@ gst_udpsrc_get (GstPad *pad)
|
|||
int ret;
|
||||
int fdread;
|
||||
struct sockaddr addr;
|
||||
socklen_t len;
|
||||
xmlDocPtr doc;
|
||||
GstCaps *caps;
|
||||
|
||||
|
|
|
@ -28,17 +28,11 @@
|
|||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#define GST_TYPE_UDPSRC \
|
||||
|
|
Loading…
Reference in a new issue