mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
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:
parent
1e5b084282
commit
2081f9ad65
41 changed files with 91 additions and 26 deletions
|
@ -18,9 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
#include "config.h"
|
|
||||||
#endif
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#ifndef __GST_A52DEC_H__
|
#ifndef __GST_A52DEC_H__
|
||||||
#define __GST_A52DEC_H__
|
#define __GST_A52DEC_H__
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -29,8 +30,6 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <dvdnav/dvdnav.h>
|
#include <dvdnav/dvdnav.h>
|
||||||
#include <dvdread/nav_print.h>
|
#include <dvdread/nav_print.h>
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -55,8 +56,6 @@
|
||||||
|
|
||||||
#include <dvdreadsrc.h>
|
#include <dvdreadsrc.h>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include <dvdread/dvd_reader.h>
|
#include <dvdread/dvd_reader.h>
|
||||||
#include <dvdread/ifo_types.h>
|
#include <dvdread/ifo_types.h>
|
||||||
#include <dvdread/ifo_read.h>
|
#include <dvdread/ifo_read.h>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __DVDREADSRC_H__
|
#define __DVDREADSRC_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __GST_LAME_H__
|
#define __GST_LAME_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __GST_MPEG2DEC_H__
|
#define __GST_MPEG2DEC_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <mpeg2.h>
|
#include <mpeg2.h>
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
#define __GST_SIDDEC_H__
|
#define __GST_SIDDEC_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sidplay/player.h>
|
#include <sidplay/player.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "buffer.hh"
|
#include "buffer.hh"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "padstrm.hh"
|
#include "padstrm.hh"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <format_codes.h>
|
#include <format_codes.h>
|
||||||
|
|
||||||
#include "stillsstream.hh"
|
#include "stillsstream.hh"
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "audioclock.h"
|
#include "audioclock.h"
|
||||||
|
|
||||||
static void gst_audio_clock_class_init (GstAudioClockClass *klass);
|
static void gst_audio_clock_class_init (GstAudioClockClass *klass);
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
#ifndef __FLOATCAST_H__
|
#ifndef __FLOATCAST_H__
|
||||||
#define __FLOATCAST_H__
|
#define __FLOATCAST_H__
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
|
|
||||||
#if (HAVE_LRINT && HAVE_LRINTF)
|
#if (HAVE_LRINT && HAVE_LRINTF)
|
||||||
|
|
||||||
/* These defines enable functionality introduced with the 1999 ISO C
|
/* These defines enable functionality introduced with the 1999 ISO C
|
||||||
|
|
|
@ -21,6 +21,10 @@
|
||||||
* this library handles interaction with GConf
|
* this library handles interaction with GConf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "gconf.h"
|
#include "gconf.h"
|
||||||
|
|
||||||
#define GST_GCONF_DIR "/system/gstreamer"
|
#define GST_GCONF_DIR "/system/gstreamer"
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
/* define DCT types */
|
/* define DCT types */
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DCTSIZE underlying (1d) transform size
|
* DCTSIZE underlying (1d) transform size
|
||||||
* DCTSIZE2 DCTSIZE squared
|
* DCTSIZE2 DCTSIZE squared
|
||||||
|
|
|
@ -38,6 +38,10 @@
|
||||||
/* compliance sE, 2.1.94 */
|
/* compliance sE, 2.1.94 */
|
||||||
/**********************************************************/
|
/**********************************************************/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* this code assumes >> to be a two's-complement arithmetic */
|
/* this code assumes >> to be a two's-complement arithmetic */
|
||||||
/* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */
|
/* right shift: (-2)>>1 == -1 , (-3)>>1 == -2 */
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,10 @@
|
||||||
/* Here we use math.h to generate constants. Compiler results may
|
/* Here we use math.h to generate constants. Compiler results may
|
||||||
vary a little */
|
vary a little */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#ifndef PI
|
#ifndef PI
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
* Released to public domain 11/22/93.
|
* Released to public domain 11/22/93.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
* scaled fixed-point arithmetic, with a minimal number of shifts.
|
* scaled fixed-point arithmetic, with a minimal number of shifts.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "dct.h"
|
#include "dct.h"
|
||||||
|
|
||||||
/* We assume that right shift corresponds to signed division by 2 with
|
/* We assume that right shift corresponds to signed division by 2 with
|
||||||
|
|
|
@ -115,6 +115,10 @@
|
||||||
mword typedef qword
|
mword typedef qword
|
||||||
qword ptr equ mword ptr */
|
qword ptr equ mword ptr */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <mmx.h>
|
#include <mmx.h>
|
||||||
|
|
||||||
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE
*/
|
#define BITS_INV_ACC 4 /*; 4 or 5 for IEEE
*/
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
/* media-info-priv.c - handling of internal stuff */
|
/* media-info-priv.c - handling of internal stuff */
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "media-info.h"
|
#include "media-info.h"
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "media-info.h"
|
#include "media-info.h"
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "play.h"
|
#include "play.h"
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __PRIVATE_H__
|
#define __PRIVATE_H__
|
||||||
|
|
||||||
#include "resample.h"
|
#include "resample.h"
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
void resample_nearest_s16(resample_t *r);
|
void resample_nearest_s16(resample_t *r);
|
||||||
void resample_bilinear_s16(resample_t *r);
|
void resample_bilinear_s16(resample_t *r);
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/*#define DEBUG_ENABLED */
|
/*#define DEBUG_ENABLED */
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/*#define DEBUG_ENABLED */
|
/*#define DEBUG_ENABLED */
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <riff.h>
|
#include <riff.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __AC3PARSE_H__
|
#define __AC3PARSE_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#ifndef __ASF_DEMUX_H__
|
#ifndef __ASF_DEMUX_H__
|
||||||
#define __ASF_DEMUX_H__
|
#define __ASF_DEMUX_H__
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/riff/riff.h>
|
#include <gst/riff/riff.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __MP3PARSE_H__
|
#define __MP3PARSE_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "gstmpegclock.h"
|
#include "gstmpegclock.h"
|
||||||
|
|
||||||
static void gst_mpeg_clock_class_init (GstMPEGClockClass *klass);
|
static void gst_mpeg_clock_class_init (GstMPEGClockClass *klass);
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __MPEG_DEMUX_H__
|
#define __MPEG_DEMUX_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include "gstmpegparse.h"
|
#include "gstmpegparse.h"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,9 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*#define GST_DEBUG_ENABLED */
|
/*#define GST_DEBUG_ENABLED */
|
||||||
#include <gstmpegpacketize.h>
|
#include <gstmpegpacketize.h>
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __MPEGPACKETIZE_H__
|
#define __MPEGPACKETIZE_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
#define __RFC2250_ENC_H__
|
#define __RFC2250_ENC_H__
|
||||||
|
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
#include "gstmpegpacketize.h"
|
#include "gstmpegpacketize.h"
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
#include <config.h>
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#include "synaescope.h"
|
#include "synaescope.h"
|
||||||
|
|
|
@ -18,6 +18,11 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "synaescope.h"
|
#include "synaescope.h"
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
Loading…
Reference in a new issue