mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 17:14:23 +00:00
ext/mad/gstid3tag.c: Add stdlib.h
Original commit message from CVS: reviewed by David Schleef * ext/mad/gstid3tag.c: Add stdlib.h * gst/rtp/gstrtpgsmenc.c: same * gst/tags/gstid3tag.c: same * gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE * gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust GST_DISABLE_LOADSAVE use. * gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise. * gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise. * ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by atol(3)). * sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t). * gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by strtoul(3)). * gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)). * ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS) $(ID3_CFLAGS). * ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add $(LIBFAME_CFLAGS).
This commit is contained in:
parent
5450836d65
commit
a6928ee380
9 changed files with 32 additions and 4 deletions
23
ChangeLog
23
ChangeLog
|
@ -1,3 +1,26 @@
|
||||||
|
2004-04-20 Daniel Gazard <daniel.gazard@epita.fr>
|
||||||
|
|
||||||
|
reviewed by David Schleef
|
||||||
|
|
||||||
|
* ext/mad/gstid3tag.c: Add stdlib.h
|
||||||
|
* gst/rtp/gstrtpgsmenc.c: same
|
||||||
|
* gst/tags/gstid3tag.c: same
|
||||||
|
* gst/udp/gstudpsrc.c: (gst_udpsrc_get): Fix GST_DISABLE_LOADSAVE
|
||||||
|
* gst/tcp/gsttcpsink.c: (gst_tcpsink_sink_link): Adjust
|
||||||
|
GST_DISABLE_LOADSAVE use.
|
||||||
|
* gst/udp/gstudpsink.c: (gst_udpsink_sink_link): Likewise.
|
||||||
|
* gst/tcp/gsttcpsrc.c: (gst_tcpsrc_get): Likewise.
|
||||||
|
* ext/gnomevfs/gstgnomevfssrc.c: Include <stdlib.h> (needed by
|
||||||
|
atol(3)).
|
||||||
|
* sys/oss/gstosselement.h: Include <sys/types.h> (needed for dev_t).
|
||||||
|
* gst/tags/gstvorbistag.c: Include <stdlib.h> (needed by
|
||||||
|
strtoul(3)).
|
||||||
|
* gst/rtp/gstrtpL16enc.c: Include <stdlib.h> (needed by random(3)).
|
||||||
|
* ext/mad/Makefile.am: (libgstmad_la_CFLAGS): Add $(MAD_CFLAGS)
|
||||||
|
$(ID3_CFLAGS).
|
||||||
|
* ext/libfame/Makefile.am: (libgstlibfame_la_CFLAGS): Add
|
||||||
|
$(LIBFAME_CFLAGS).
|
||||||
|
|
||||||
2004-04-20 David Schleef <ds@schleef.org>
|
2004-04-20 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* gst/realmedia/rmdemux.c: This was supposed to part of the
|
* gst/realmedia/rmdemux.c: This was supposed to part of the
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit e55182f6eece70ff99e33b9800b27a926670dbdd
|
Subproject commit 63d93f01177745ba864263f0b6f976212684cb87
|
|
@ -21,6 +21,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "gstrtpL16enc.h"
|
#include "gstrtpL16enc.h"
|
||||||
|
|
||||||
/* elementfactory information */
|
/* elementfactory information */
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "gstrtpL16enc.h"
|
#include "gstrtpL16enc.h"
|
||||||
|
|
||||||
/* elementfactory information */
|
/* elementfactory information */
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmenc.h"
|
#include "gstrtpgsmenc.h"
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmenc.h"
|
#include "gstrtpgsmenc.h"
|
||||||
|
|
||||||
|
|
|
@ -158,6 +158,7 @@ gst_udpsink_class_init (GstUDPSink * klass)
|
||||||
static GstPadLinkReturn
|
static GstPadLinkReturn
|
||||||
gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps)
|
gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps)
|
||||||
{
|
{
|
||||||
|
#ifndef GST_DISABLE_LOADSAVE
|
||||||
GstUDPSink *udpsink;
|
GstUDPSink *udpsink;
|
||||||
struct sockaddr_in serv_addr;
|
struct sockaddr_in serv_addr;
|
||||||
struct hostent *serverhost;
|
struct hostent *serverhost;
|
||||||
|
@ -165,7 +166,6 @@ gst_udpsink_sink_link (GstPad * pad, const GstCaps * caps)
|
||||||
FILE *f;
|
FILE *f;
|
||||||
guint bc_val;
|
guint bc_val;
|
||||||
|
|
||||||
#ifndef GST_DISABLE_LOADSAVE
|
|
||||||
xmlDocPtr doc;
|
xmlDocPtr doc;
|
||||||
xmlChar *buf;
|
xmlChar *buf;
|
||||||
int buf_size;
|
int buf_size;
|
||||||
|
|
|
@ -254,9 +254,9 @@ gst_udpsrc_get (GstPad * pad)
|
||||||
GST_ELEMENT_ERROR (udpsrc, CORE, NEGOTIATION, (NULL),
|
GST_ELEMENT_ERROR (udpsrc, CORE, NEGOTIATION, (NULL),
|
||||||
("Got unfixed caps from peer"));
|
("Got unfixed caps from peer"));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
g_free (buf);
|
g_free (buf);
|
||||||
|
#endif
|
||||||
|
|
||||||
outbuf = NULL;
|
outbuf = NULL;
|
||||||
} else {
|
} else {
|
||||||
outbuf = gst_buffer_new ();
|
outbuf = gst_buffer_new ();
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#define __GST_OSS_ELEMENT_H__
|
#define __GST_OSS_ELEMENT_H__
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
/* debugging category */
|
/* debugging category */
|
||||||
GST_DEBUG_CATEGORY_EXTERN (oss_debug);
|
GST_DEBUG_CATEGORY_EXTERN (oss_debug);
|
||||||
|
|
Loading…
Reference in a new issue