Commit 3f9d4cbd authored by Ronald S. Bultje's avatar Ronald S. Bultje

Remove all config.h includes from header files, add it to each source file and...

Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...

Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
parent b39f653c
......@@ -22,7 +22,6 @@
#define __CDPARANOIA_H__
#include <config.h>
#include <glib.h>
#include <gst/gst.h>
......
......@@ -27,6 +27,9 @@
* Copyright (C) 2001 Sun Microsystems
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gsttimeoverlay.h>
......
......@@ -22,7 +22,6 @@
#define __GST_TIMEOVERLAY_H__
#include <config.h>
#include <gst/gst.h>
#include <pango/pango.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <vorbisenc.h>
......
......@@ -22,7 +22,6 @@
#define __VORBISENC_H__
#include <config.h>
#include <gst/gst.h>
#include <vorbis/codec.h>
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buffer.hh"
#include <stdlib.h>
......
......@@ -20,6 +20,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "padstrm.hh"
......
......@@ -21,6 +21,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <format_codes.h>
#include "stillsstream.hh"
......
......@@ -20,6 +20,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "audioclock.h"
static void gst_audio_clock_class_init (GstAudioClockClass *klass);
......
......@@ -21,8 +21,6 @@
#ifndef __FLOATCAST_H__
#define __FLOATCAST_H__
#include <config.h>
#if (HAVE_LRINT && HAVE_LRINTF)
/* These defines enable functionality introduced with the 1999 ISO C
......
......@@ -21,6 +21,10 @@
* this library handles interaction with GConf
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gconf.h"
#define GST_GCONF_DIR "/system/gstreamer"
......
/* define DCT types */
#include "config.h"
/*
* DCTSIZE underlying (1d) transform size
* DCTSIZE2 DCTSIZE squared
......
......@@ -38,6 +38,10 @@
/* compliance sE, 2.1.94 */
/**********************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* this code assumes >> to be a two's-complement arithmetic */
/* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */
......
......@@ -35,6 +35,10 @@
/* Here we use math.h to generate constants. Compiler results may
vary a little */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
#ifndef PI
......
......@@ -9,6 +9,10 @@
* Released to public domain 11/22/93.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
......
......@@ -18,6 +18,10 @@
* scaled fixed-point arithmetic, with a minimal number of shifts.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "dct.h"
/* We assume that right shift corresponds to signed division by 2 with
......
......@@ -114,7 +114,11 @@
/*
mword typedef qword
qword ptr equ mword ptr */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <mmx.h>
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE */
......
......@@ -19,6 +19,10 @@
/* media-info-priv.c - handling of internal stuff */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <string.h>
#include "media-info.h"
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <string.h>
#include "media-info.h"
......
......@@ -22,6 +22,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "play.h"
enum
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>
......
......@@ -22,7 +22,6 @@
#define __PRIVATE_H__
#include "resample.h"
#include "config.h"
void resample_nearest_s16(resample_t *r);
void resample_bilinear_s16(resample_t *r);
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <riff.h>
......
......@@ -18,6 +18,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gstvideofilter.h>
......
......@@ -22,7 +22,6 @@
#define __GST_VIDEOFILTER_H__
#include <config.h>
#include <gst/gst.h>
......
......@@ -22,7 +22,6 @@
#define __AUDIOSCALE_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/resample/resample.h>
......
......@@ -25,7 +25,6 @@
#define __GST_SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttcpsrc.h"
#include "gsttcpsink.h"
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttcpsrc.h"
#include "gsttcpsink.h"
......
......@@ -22,7 +22,6 @@
#define __GST_TCPSINK_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -21,7 +21,6 @@
#ifndef __GST_TCPSRC_H__
#define __GST_TCPSRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -22,7 +22,6 @@
#define __GST_VIDEOSCALE_H__
#include <config.h>
#include <gst/gst.h>
......
......@@ -21,13 +21,13 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <stdlib.h>
#include <math.h>
#include <videoscale.h>
#include <string.h>
#include "config.h"
#include "gstvideoscale.h"
#undef HAVE_CPU_I386
#ifdef HAVE_CPU_I386
......
......@@ -19,6 +19,10 @@
/*#define DEBUG_ENABLED */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstvideoscale.h"
/* scalers */
......
......@@ -23,7 +23,6 @@
#define __GST_VIDEOTESTSRC_H__
#include <config.h>
#include <gst/gst.h>
G_BEGIN_DECLS
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* non-GST-specific stuff */
/*#define DEBUG_ENABLED */
......
......@@ -23,7 +23,6 @@
#define __GST_VOLUME_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -36,13 +36,14 @@ plugin_init (GstPlugin *plugin)
if (!gst_library_load ("xwindowlistener"))
return FALSE;
if (!gst_element_register (plugin, "v4lelement", GST_RANK_NONE, GST_TYPE_V4LELEMENT))
return FALSE;
if (!gst_element_register (plugin, "v4lsrc", GST_RANK_NONE, GST_TYPE_V4LSRC))
return FALSE;
if (!gst_element_register (plugin, "v4lmjpegsrc", GST_RANK_NONE, GST_TYPE_V4LMJPEGSRC))
return FALSE;
if (!gst_element_register (plugin, "v4lmjpegsink", GST_RANK_NONE, GST_TYPE_V4LMJPEGSINK))
if (!gst_element_register (plugin, "v4lelement",
GST_RANK_NONE, GST_TYPE_V4LELEMENT) ||
!gst_element_register (plugin, "v4lsrc",
GST_RANK_NONE, GST_TYPE_V4LSRC) ||
!gst_element_register (plugin, "v4lmjpegsrc",
GST_RANK_NONE, GST_TYPE_V4LMJPEGSRC) ||
!gst_element_register (plugin, "v4lmjpegsink",
GST_RANK_NONE, GST_TYPE_V4LMJPEGSINK))
return FALSE;
return TRUE;
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif
......
......@@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif
......
......@@ -22,7 +22,6 @@
#define __SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -22,7 +22,6 @@
#define __SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment