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
This commit is contained in:
Ronald S. Bultje 2003-11-07 12:47:02 +00:00
parent b39f653c3d
commit 3f9d4cbd08
47 changed files with 105 additions and 36 deletions

View file

@ -22,7 +22,6 @@
#define __CDPARANOIA_H__
#include <config.h>
#include <glib.h>
#include <gst/gst.h>

View file

@ -27,6 +27,9 @@
* Copyright (C) 2001 Sun Microsystems
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gsttimeoverlay.h>

View file

@ -22,7 +22,6 @@
#define __GST_TIMEOVERLAY_H__
#include <config.h>
#include <gst/gst.h>
#include <pango/pango.h>

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <vorbisenc.h>

View file

@ -22,7 +22,6 @@
#define __VORBISENC_H__
#include <config.h>
#include <gst/gst.h>
#include <vorbis/codec.h>

View file

@ -1,3 +1,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "buffer.hh"
#include <stdlib.h>

View file

@ -20,6 +20,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "padstrm.hh"

View file

@ -21,6 +21,10 @@
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <format_codes.h>
#include "stillsstream.hh"

View file

@ -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);

View file

@ -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

View file

@ -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"

View file

@ -1,7 +1,5 @@
/* define DCT types */
#include "config.h"
/*
* DCTSIZE underlying (1d) transform size
* DCTSIZE2 DCTSIZE squared

View file

@ -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 */

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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 */

View file

@ -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"

View file

@ -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"

View file

@ -22,6 +22,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "play.h"
enum

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -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);

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <math.h>

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
/*#define DEBUG_ENABLED */

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <riff.h>

View file

@ -18,6 +18,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gstvideofilter.h>

View file

@ -22,7 +22,6 @@
#define __GST_VIDEOFILTER_H__
#include <config.h>
#include <gst/gst.h>

View file

@ -22,7 +22,6 @@
#define __AUDIOSCALE_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/resample/resample.h>

View file

@ -25,7 +25,6 @@
#define __GST_SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttcpsrc.h"
#include "gsttcpsink.h"

View file

@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gsttcpsrc.h"
#include "gsttcpsink.h"

View file

@ -22,7 +22,6 @@
#define __GST_TCPSINK_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

@ -21,7 +21,6 @@
#ifndef __GST_TCPSRC_H__
#define __GST_TCPSRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

@ -22,7 +22,6 @@
#define __GST_VIDEOSCALE_H__
#include <config.h>
#include <gst/gst.h>

View file

@ -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

View file

@ -19,6 +19,10 @@
/*#define DEBUG_ENABLED */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstvideoscale.h"
/* scalers */

View file

@ -23,7 +23,6 @@
#define __GST_VIDEOTESTSRC_H__
#include <config.h>
#include <gst/gst.h>
G_BEGIN_DECLS

View file

@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/* non-GST-specific stuff */
/*#define DEBUG_ENABLED */

View file

@ -23,7 +23,6 @@
#define __GST_VOLUME_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */

View file

@ -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;

View file

@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif

View file

@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif

View file

@ -18,9 +18,6 @@
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#endif

View file

@ -22,7 +22,6 @@
#define __SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus

View file

@ -22,7 +22,6 @@
#define __SINESRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus