Commit 5621eae1 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 079e4b4e
......@@ -20,7 +20,6 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <string.h>
#include <sys/time.h>
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstflacenc.h"
#include "gstflacdec.h"
......
......@@ -22,7 +22,6 @@
#define __FLACDEC_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
......
......@@ -22,7 +22,6 @@
#define __FLACENC_H__
#include <config.h>
#include <gst/gst.h>
#include <FLAC/all.h>
......
......@@ -24,7 +24,6 @@
#define __GST_LADSPA_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
......
......@@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
......
......@@ -5,6 +5,10 @@
/*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <dirent.h>
#include <dlfcn.h>
#include <stdio.h>
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include "gstmikmod.h"
......
......@@ -21,7 +21,6 @@
#ifndef __GST_MIKMOD_H__
#define __GST_MIKMOD_H__
#include <config.h>
#include <mikmod.h>
#include <gst/gst.h>
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <unistd.h>
#include <string.h>
......
......@@ -16,7 +16,11 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include "mikmod_types.h"
#include <string.h> /* memcmp */
......
......@@ -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>
......
......@@ -22,7 +22,6 @@
#define __GST_GST1394_H__
#include <config.h>
#include <gst/gst.h>
#include <libraw1394/raw1394.h>
......
......@@ -22,7 +22,6 @@
#define __GST_SPEEXDEC_H__
#include <config.h>
#include <gst/gst.h>
#include <speex.h>
......
......@@ -22,7 +22,6 @@
#define __GST_SPEEXENC_H__
#include <config.h>
#include <gst/gst.h>
#include <speex.h>
......
......@@ -22,7 +22,6 @@
#define __GST_AUPARSE_H__
#include <config.h>
#include <gst/gst.h>
......
......@@ -22,7 +22,6 @@
#define __GST_AVI_DEMUX_H__
#include <config.h>
#include <gst/gst.h>
#include <gst/bytestream/bytestream.h>
#include <gst/riff/riff.h>
......
......@@ -28,7 +28,6 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <stdlib.h>
#include <string.h>
......@@ -170,6 +169,7 @@ GST_PAD_TEMPLATE_FACTORY (audio_sink_factory,
GST_CAPS_NEW (
"avimux_sink_audio_mpeg",
"audio/mpeg",
"mpegversion", GST_PROPS_INT (1),
"layer", GST_PROPS_INT_RANGE (1, 3),
"rate", GST_PROPS_INT_RANGE (1000, 96000),
"channels", GST_PROPS_INT_RANGE (1, 2)
......
......@@ -22,7 +22,6 @@
#define __GST_CUTTER_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -17,10 +17,13 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <string.h>
#include <gst/gst.h>
#include "flx_color.h"
FlxColorSpaceConverter *
......
......@@ -12,6 +12,10 @@
/*#define _DEBUG_PIXEL; */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "filters.h"
#include "graphic.h"
#include "goom_tools.h"
......
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "graphic.h"
const Color BLACK = {0,0,0} ;
......
......@@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <gst/gst.h>
#include <gst/video/video.h>
#include "goom_core.h"
......
......@@ -7,6 +7,10 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "lines.h"
#include <math.h>
......
......@@ -22,7 +22,6 @@
#define __GST_ALAWDECODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -22,7 +22,6 @@
#define __GST_ALAWENCODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -19,6 +19,10 @@
* Output: 8 bit ulaw sample
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#define ZEROTRAP /* turn on the trap as per the MIL-STD */
......
......@@ -22,7 +22,6 @@
#define __GST_MULAWDECODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -22,7 +22,6 @@
#define __GST_MULAWENCODE_H__
#include <config.h>
#include <gst/gst.h>
/* #include <gst/meta/audioraw.h> */
......
......@@ -21,6 +21,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gtk/gtk.h>
......
......@@ -26,7 +26,6 @@
#define __GST_LEVEL_H__
#include <config.h>
#include <gst/gst.h>
#include "gstlevel-marshal.h"
......
......@@ -21,6 +21,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gtk/gtk.h>
......
......@@ -22,7 +22,6 @@
#define __GST_MEDIAN_H__
#include <config.h>
#include <gst/gst.h>
......
......@@ -55,6 +55,10 @@
* convolution", or "combine these three length 2^n outputs into one
* 2^{n+1} output." */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include "convolve.h"
......
......@@ -20,7 +20,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <config.h>
#include <gst/gst.h>
#include <gst/video/video.h>
#include "monoscope.h"
......
......@@ -19,6 +19,11 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "monoscope.h"
#include <string.h>
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "paint.h"
#include "gstmask.h"
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstmask.h"
#include "paint.h"
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
#include <stdlib.h>
#include "paint.h"
......
......@@ -17,6 +17,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "gstudpsrc.h"
#include "gstudpsink.h"
......
......@@ -22,7 +22,6 @@
#define __GST_UDPSINK_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -21,7 +21,6 @@
#ifndef __GST_UDPSRC_H__
#define __GST_UDPSRC_H__
#include <config.h>
#include <gst/gst.h>
#ifdef __cplusplus
......
......@@ -18,6 +18,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gstvideobalance.h>
......
......@@ -22,7 +22,6 @@
#define __GST_VIDEOBALANCE_H__
#include <config.h>
#include <gst/gst.h>
#include "gstvideofilter.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 __GST_VIDEOFLIP_H__
#include <config.h>
#include <gst/gst.h>
#include "gstvideofilter.h"
......
......@@ -18,6 +18,9 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
/*#define DEBUG_ENABLED */
#include <gstvideotemplate.h>
......
......@@ -22,7 +22,6 @@
#define __GST_VIDEOTEMPLATE_H__
#include <config.h>
#include <gst/gst.h>
#include "gstvideofilter.h"
......
......@@ -22,7 +22,6 @@
#define __GST_VIDEOFLIP_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 <videoflip.h>
#include <string.h>
#include "config.h"
#include "gstvideoflip.h"
static void gst_videoflip_planar411 (GstVideoflip *scale, unsigned char *dest, unsigned char *src);
......
......@@ -22,7 +22,6 @@
#define __GST_WAVENC_H__
#include <config.h>
#include <gst/gst.h>
G_BEGIN_DECLS
......
......@@ -22,7 +22,6 @@
#define __GST_WAVPARSE_H__
#include <config.h>
#include <gst/gst.h>
#include <riff.h>
#include <gst/bytestream/bytestream.h>
......
......@@ -25,7 +25,6 @@
#define __GST_OSSGST_H__
#include <config.h>
#include <gst/gst.h>
#include <sys/types.h>
......
......@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
......
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