mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
win32: Include config.h before anything else. Fix mpegdemux LIBADD
Because config.h defines __MSVCRT_VERSION__, which should be defined before inclusion of any system header. Also fixes mpegdemux Makefile.am LIBADD typo. Fixes #606665
This commit is contained in:
parent
d61abce8e4
commit
b3f0b029f3
7 changed files with 23 additions and 22 deletions
|
@ -17,8 +17,10 @@
|
|||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#define FLOAT_SAMPLES 1
|
||||
#include <soundtouch/BPMDetect.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
/* FIXME: workaround for SoundTouch.h of version 1.3.1 defining those
|
||||
* variables while it shouldn't. */
|
||||
#undef VERSION
|
||||
|
@ -29,10 +31,8 @@
|
|||
#undef PACKAGE_BUGREPORT
|
||||
#undef PACKAGE
|
||||
|
||||
/* FIXME: keep it here to avoid PACKAGE* redefinition warnings */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#define FLOAT_SAMPLES 1
|
||||
#include <soundtouch/BPMDetect.h>
|
||||
|
||||
#include <gst/audio/audio.h>
|
||||
#include <gst/audio/gstaudiofilter.h>
|
||||
|
|
|
@ -17,8 +17,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define FLOAT_SAMPLES 1
|
||||
#include <soundtouch/SoundTouch.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
/* FIXME: workaround for SoundTouch.h of version 1.3.1 defining those
|
||||
* variables while it shouldn't. */
|
||||
#undef VERSION
|
||||
|
@ -29,9 +31,8 @@
|
|||
#undef PACKAGE_BUGREPORT
|
||||
#undef PACKAGE
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
#define FLOAT_SAMPLES 1
|
||||
#include <soundtouch/SoundTouch.h>
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/controller/gstcontroller.h>
|
||||
|
|
|
@ -37,13 +37,13 @@
|
|||
* the buffer
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <gst/audio/audio.h>
|
||||
#include "gstsignalprocessor.h"
|
||||
|
||||
|
|
|
@ -45,12 +45,12 @@
|
|||
* </refsect2>
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstaacparse.h"
|
||||
|
||||
|
||||
|
|
|
@ -39,12 +39,12 @@
|
|||
* </refsect2>
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "gstamrparse.h"
|
||||
|
||||
|
||||
|
|
|
@ -24,13 +24,13 @@
|
|||
*/
|
||||
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gsth264parse.h"
|
||||
|
||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
|
|
|
@ -17,7 +17,7 @@ libgstmpegdemux_la_CFLAGS = \
|
|||
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBOIL_CFLAGS)
|
||||
libgstmpegdemux_la_LIBADD = \
|
||||
$(GST_PLUGINS_BASE_CFLAGS) -lgsttag-$(GST_MAJORMINOR) \
|
||||
$(GST_PLUGINS_BASE_LIBS) -lgsttag-$(GST_MAJORMINOR) \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBOIL_LIBS)
|
||||
libgstmpegdemux_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstmpegdemux_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
|
Loading…
Reference in a new issue