mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 13:38:48 +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;
|
GstUDPSrc *udpsrc;
|
||||||
GstBuffer *outbuf;
|
GstBuffer *outbuf;
|
||||||
struct sockaddr_in tmpaddr;
|
struct sockaddr_in tmpaddr;
|
||||||
int len, numbytes;
|
socklen_t len;
|
||||||
|
gint numbytes;
|
||||||
fd_set read_fds;
|
fd_set read_fds;
|
||||||
|
|
||||||
g_return_val_if_fail (pad != NULL, NULL);
|
g_return_val_if_fail (pad != NULL, NULL);
|
||||||
|
@ -142,7 +143,6 @@ gst_udpsrc_get (GstPad *pad)
|
||||||
int ret;
|
int ret;
|
||||||
int fdread;
|
int fdread;
|
||||||
struct sockaddr addr;
|
struct sockaddr addr;
|
||||||
socklen_t len;
|
|
||||||
xmlDocPtr doc;
|
xmlDocPtr doc;
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
|
|
||||||
|
|
|
@ -28,17 +28,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/time.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/wait.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#define GST_TYPE_UDPSRC \
|
#define GST_TYPE_UDPSRC \
|
||||||
|
|
Loading…
Reference in a new issue