2015-04-23 15:08:32 +00:00
AC_PREREQ([2.69])
2002-02-16 05:44:09 +00:00
2006-06-11 13:57:19 +00:00
dnl please read gstreamer/docs/random/autotools before changing this file
2005-11-14 02:13:35 +00:00
dnl initialize autoconf
2010-01-27 01:18:51 +00:00
dnl releases only do -Wall, git and prerelease does -Werror too
dnl use a three digit version number for releases, and four for git/pre
2019-03-04 09:07:30 +00:00
AC_INIT([GStreamer Good Plug-ins],[1.15.2.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-good])
2006-04-01 09:56:45 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_INIT
2006-04-01 09:56:45 +00:00
dnl initialize automake
2015-04-23 15:08:32 +00:00
AM_INIT_AUTOMAKE([-Wno-portability 1.14 no-dist-gzip dist-xz tar-ustar subdir-objects])
2006-04-01 09:56:45 +00:00
dnl define PACKAGE_VERSION_* variables
AS_VERSION
dnl check if this is a release version
2010-01-27 01:18:51 +00:00
AS_NANO(GST_GIT="no", GST_GIT="yes")
2003-09-19 06:24:35 +00:00
2005-11-14 02:13:35 +00:00
dnl can autoconf find the source ?
AC_CONFIG_SRCDIR([gst/law/alaw.c])
dnl define the output header for config
2012-11-07 20:35:50 +00:00
AC_CONFIG_HEADERS([config.h])
2005-11-14 02:13:35 +00:00
dnl AM_MAINTAINER_MODE only provides the option to configure to enable it
2012-04-13 11:41:44 +00:00
AM_MAINTAINER_MODE([enable])
2005-11-14 02:13:35 +00:00
dnl sets host_* variables
AC_CANONICAL_HOST
2018-02-12 18:34:16 +00:00
dnl PKG_CONFIG_SYSROOT_DIR is a valid environment variable
m4_pattern_allow(PKG_CONFIG_SYSROOT_DIR)
2010-02-26 14:41:52 +00:00
dnl use pretty build output with automake >= 1.11
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],
[AM_DEFAULT_VERBOSITY=1
AC_SUBST(AM_DEFAULT_VERBOSITY)])
2012-04-04 12:33:23 +00:00
dnl our libraries and install dirs use GST_API_VERSION in the filename
dnl to allow side-by-side installation of different API versions
GST_API_VERSION=1.0
AC_SUBST(GST_API_VERSION)
AC_DEFINE_UNQUOTED(GST_API_VERSION, "$GST_API_VERSION",
[GStreamer API Version])
2002-12-08 14:50:09 +00:00
2011-02-28 18:16:00 +00:00
AG_GST_LIBTOOL_PREPARE
2019-02-26 11:47:29 +00:00
AS_LIBTOOL(GST, 1502, 0, 1502)
2001-12-17 18:37:01 +00:00
2006-01-11 11:39:10 +00:00
dnl *** required versions of GStreamer stuff ***
2019-03-04 09:07:30 +00:00
GST_REQ=1.15.2.1
GSTPB_REQ=1.15.2.1
2006-01-11 11:39:10 +00:00
2005-11-14 02:13:35 +00:00
dnl *** autotools stuff ****
2001-12-17 18:37:01 +00:00
2002-05-27 14:01:51 +00:00
dnl allow for different autotools
2005-11-14 02:13:35 +00:00
AS_AUTOTOOLS_ALTERNATE
2005-05-05 16:35:52 +00:00
2005-11-14 02:13:35 +00:00
dnl Add parameters for aclocal
AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
2003-07-28 11:37:49 +00:00
2005-11-14 02:13:35 +00:00
dnl set up gettext
dnl the version check needs to stay here because autopoint greps for it
2008-11-29 13:31:55 +00:00
AM_GNU_GETTEXT_VERSION([0.17])
2005-11-14 02:13:35 +00:00
AM_GNU_GETTEXT([external])
2012-04-04 12:33:23 +00:00
AG_GST_GETTEXT([gst-plugins-good-$GST_API_VERSION])
2003-12-16 16:58:59 +00:00
2005-11-14 02:13:35 +00:00
dnl *** check for arguments to configure ***
2004-02-20 15:49:27 +00:00
2012-01-19 14:24:04 +00:00
AG_GST_ARG_DISABLE_FATAL_WARNINGS
2015-10-20 14:29:42 +00:00
AG_GST_ARG_ENABLE_EXTRA_CHECKS
2012-01-19 14:24:04 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
AG_GST_ARG_GCOV
Convert a few inner loops to use liboil. This is currently optional, and is only enabled if liboil is present (duh!).
Original commit message from CVS:
Convert a few inner loops to use liboil. This is currently
optional, and is only enabled if liboil is present (duh!).
* configure.ac: Check for liboil-0.1
* gst/intfloat/Makefile.am:
* gst/intfloat/gstint2float.c: (conv_f32_s16), (scalarmult_f32),
(gst_int2float_chain_gint16):
* gst/videofilter/Makefile.am:
* gst/videofilter/gstvideobalance.c: (gst_videobalance_class_init),
(tablelookup_u8), (gst_videobalance_planar411):
* gst/videotestsrc/Makefile.am:
* gst/videotestsrc/gstvideotestsrc.c: (plugin_init):
* gst/videotestsrc/videotestsrc.c: (splat_u8), (paint_hline_YUY2),
(paint_hline_IYU2), (paint_hline_str4), (paint_hline_str3),
(paint_hline_RGB565), (paint_hline_xRGB1555):
2004-02-12 07:37:50 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_ARG_EXAMPLES
2002-08-13 10:39:26 +00:00
2007-02-28 19:29:25 +00:00
AG_GST_ARG_WITH_PKG_CONFIG_PATH
AG_GST_ARG_WITH_PACKAGE_NAME
AG_GST_ARG_WITH_PACKAGE_ORIGIN
2001-12-21 11:46:15 +00:00
2007-09-25 08:51:36 +00:00
AG_GST_ARG_WITH_PLUGINS
2001-12-23 03:25:55 +00:00
2007-09-25 08:51:36 +00:00
AG_GST_ARG_ENABLE_EXTERNAL
AG_GST_ARG_ENABLE_EXPERIMENTAL
2006-10-03 18:15:58 +00:00
2016-07-13 19:07:11 +00:00
AG_GST_PKG_CONFIG_PATH
2005-11-14 02:13:35 +00:00
dnl *** checks for platform ***
dnl * hardware/architecture *
dnl common/m4/gst-arch.m4
dnl check CPU type
2007-02-28 19:29:25 +00:00
AG_GST_ARCH
2005-11-14 02:13:35 +00:00
dnl Determine endianness
AC_C_BIGENDIAN
2018-03-08 09:12:16 +00:00
dnl *** software ***
dnl check for large file support
dnl affected plugins must include config.h
AC_SYS_LARGEFILE
2005-11-14 02:13:35 +00:00
dnl *** checks for programs ***
dnl find a compiler
AC_PROG_CC
2010-08-04 17:25:31 +00:00
AC_PROG_CC_STDC
2005-11-14 02:13:35 +00:00
dnl determine c++ compiler
AC_PROG_CXX
dnl determine if c++ is available on this system
AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no)
dnl determine c++ preprocessor
dnl FIXME: do we need this ?
AC_PROG_CXXCPP
2012-05-30 09:09:25 +00:00
AC_PROG_OBJC
2005-11-14 02:13:35 +00:00
2008-01-10 12:25:44 +00:00
dnl check if the compiler supports '-c' and '-o' options
AM_PROG_CC_C_O
2008-03-03 13:03:43 +00:00
dnl find an assembler
AM_PROG_AS
2009-05-22 00:10:12 +00:00
dnl check if the compiler supports do while(0) macros
AG_GST_CHECK_DOWHILE_MACROS
2005-11-14 02:13:35 +00:00
AC_PATH_PROG(VALGRIND_PATH, valgrind, no)
AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check for documentation tools
2012-08-22 11:18:00 +00:00
GTK_DOC_CHECK([1.12])
2012-11-07 18:48:49 +00:00
AG_GST_PLUGIN_DOCS([1.12])
2005-11-14 02:13:35 +00:00
2006-04-01 09:56:45 +00:00
dnl *** checks for libraries ***
2007-02-24 22:57:49 +00:00
dnl check for libm, for sin()
2012-04-13 11:41:44 +00:00
LT_LIB_M
2007-02-24 22:57:49 +00:00
AC_SUBST(LIBM)
2012-11-30 20:37:47 +00:00
AC_CHECK_FUNCS(clock_gettime, [], [
AC_CHECK_LIB(rt, clock_gettime, [
AC_DEFINE(HAVE_CLOCK_GETTIME, 1)
LIBRT="-lrt"
AC_SUBST([LIBRT])
])
])
2016-08-26 19:11:59 +00:00
dnl check for pthreads
AX_PTHREAD
2005-11-14 02:13:35 +00:00
dnl *** checks for header files ***
dnl check if we have ANSI C header files
AC_HEADER_STDC
2007-06-08 20:19:55 +00:00
dnl used by ext/wavpack
AX_CREATE_STDINT_H
2007-11-02 21:16:09 +00:00
dnl used in gst/udp
AC_CHECK_HEADERS([sys/time.h])
2012-03-26 21:02:08 +00:00
dnl used in gst/udp
AC_CHECK_HEADERS([sys/socket.h])
2006-04-01 09:56:45 +00:00
dnl *** checks for types/defines ***
2006-01-09 17:04:52 +00:00
dnl Check for FIONREAD ioctl declaration. This check is needed
2009-10-16 15:26:41 +00:00
dnl for the UDP plugin to build on Solaris
2006-04-01 09:56:45 +00:00
GST_CHECK_FIONREAD
dnl *** checks for structures ***
2006-01-09 17:04:52 +00:00
2005-11-14 02:13:35 +00:00
dnl *** checks for compiler characteristics ***
2008-03-03 13:03:43 +00:00
dnl check if we have GCC inline-asm
AS_GCC_INLINE_ASSEMBLY([HAVE_GCC_ASM=yes], [HAVE_GCC_ASM=no])
if test x$HAVE_GCC_ASM = xyes ; then
AC_DEFINE(HAVE_GCC_ASM, 1,
[Define if compiler supports gcc inline assembly])
fi
AM_CONDITIONAL(HAVE_GCC_ASM, test "x$HAVE_GCC_ASM" = "xyes")
2005-11-14 02:13:35 +00:00
dnl *** checks for library functions ***
2007-12-09 05:02:17 +00:00
LIBS_SAVE=$LIBS
LIBS="$LIBS $LIBM"
2009-10-08 23:14:07 +00:00
AC_CHECK_FUNCS(rint sinh cosh asinh fpclass)
2007-12-09 05:13:58 +00:00
LIBS=$LIBS_SAVE
2007-12-09 05:02:17 +00:00
2009-10-08 23:14:07 +00:00
dnl Check whether isinf() is defined by math.h
AC_CACHE_CHECK([for isinf], ac_cv_have_isinf,
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[float f = 0.0; int i=isinf(f)]])],[ac_cv_have_isinf="yes"],[ac_cv_have_isinf="no"]))
if test "$ac_cv_have_isinf" = "yes"
then
AC_DEFINE(HAVE_ISINF, 1, [Define to 1 if you have the `isinf' function.])
fi
2005-10-07 11:30:41 +00:00
dnl Check for mmap (needed by electricfence plugin)
2005-11-14 02:13:35 +00:00
AC_FUNC_MMAP
2017-12-19 09:37:58 +00:00
AC_CHECK_SIZEOF([off_t])
2010-05-15 19:15:52 +00:00
AM_CONDITIONAL(GST_HAVE_MMAP, test "x$ac_cv_func_mmap_fixed_mapped" = "xyes")
2005-10-07 11:30:41 +00:00
2009-04-20 13:46:03 +00:00
dnl Check for mmap (needed by electricfence plugin)
AC_CHECK_TYPE([struct ip_mreqn], [
AC_DEFINE(HAVE_IP_MREQN,, [Define if we have struct ip_mreqn])],,
[#include <netinet/in.h>])
2007-02-13 09:46:26 +00:00
dnl *** checks for dependency libraries ***
2005-11-14 02:13:35 +00:00
2012-01-18 15:15:59 +00:00
dnl GLib
2015-10-02 19:21:45 +00:00
GLIB_REQ=2.40.0
2012-01-18 15:15:59 +00:00
AG_GST_GLIB_CHECK([$GLIB_REQ])
2012-01-17 10:19:33 +00:00
2010-06-08 22:23:28 +00:00
dnl Orc
2013-03-22 10:50:34 +00:00
ORC_CHECK([0.4.17])
2005-11-14 02:13:35 +00:00
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
2012-04-04 12:33:23 +00:00
AG_GST_CHECK_GST($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_BASE($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CONTROLLER($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_NET($GST_API_VERSION, [$GST_REQ], yes)
AG_GST_CHECK_GST_CHECK($GST_API_VERSION, [$GST_REQ], no)
AG_GST_CHECK_GST_PLUGINS_BASE($GST_API_VERSION, [$GSTPB_REQ], yes)
GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_API_VERSION`
2005-11-14 02:13:35 +00:00
if test -z $GST_TOOLS_DIR; then
AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
fi
AC_SUBST(GST_TOOLS_DIR)
2006-05-18 23:04:59 +00:00
AC_MSG_NOTICE(Using GStreamer Core Plugins in $GST_PLUGINS_DIR)
2006-05-02 13:24:38 +00:00
AC_MSG_NOTICE(Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR)
2018-02-10 13:20:43 +00:00
AG_GST_PKG_CHECK_MODULES(GST_GL, gstreamer-gl-[$GST_API_VERSION], [$GST_REQ], no)
dnl FIXME: if uninstalled setup we might not want to pick up an installed gst-gl?
if test "x$HAVE_GST_GL" = "xyes"; then
AC_MSG_CHECKING([GStreamer OpenGL window systems ...])
GST_GL_WINSYS=`$PKG_CONFIG --variable=gl_winsys gstreamer-gl-1.0`
AC_MSG_RESULT([$GST_GL_WINSYS])
GST_GL_HAVE_WINDOW_X11=""
GST_GL_HAVE_WINDOW_WAYLAND=""
GST_GL_HAVE_WINDOW_ANDROID=""
GST_GL_HAVE_WINDOW_COCOA=""
GST_GL_HAVE_WINDOW_EAGL=""
case "$GST_GL_WINSYS" in *x11*) GST_GL_HAVE_WINDOW_X11="1" ;; esac
case "$GST_GL_WINSYS" in *wayland*) GST_GL_HAVE_WINDOW_WAYLAND="1" ;; esac
case "$GST_GL_WINSYS" in *android*) GST_GL_HAVE_WINDOW_ANDROID="1" ;; esac
case "$GST_GL_WINSYS" in *cocoa*) GST_GL_HAVE_WINDOW_COCOA="1" ;; esac
case "$GST_GL_WINSYS" in *eagl*) GST_GL_HAVE_WINDOW_EAGL="1" ;; esac
AC_MSG_CHECKING([GStreamer OpenGL platforms ...])
GST_GL_PLATFORMS=`$PKG_CONFIG --variable=gl_platforms gstreamer-gl-1.0`
AC_MSG_RESULT([$GST_GL_PLATFORMS])
GST_GL_HAVE_PLATFORM_GLX=""
GST_GL_HAVE_PLATFORM_EGL=""
GST_GL_HAVE_PLATFORM_CGL=""
GST_GL_HAVE_PLATFORM_EAGL=""
case "$GST_GL_PLATFORMS" in *glx*) GST_GL_HAVE_PLATFORM_GLX="1" ;; esac
case "$GST_GL_PLATFORMS" in *egl*) GST_GL_HAVE_PLATFORM_EGL="1" ;; esac
case "$GST_GL_PLATFORMS" in *cgl*) GST_GL_HAVE_PLATFORM_CGL="1" ;; esac
case "$GST_GL_PLATFORMS" in *eagl*) GST_GL_HAVE_PLATFORM_EAGL="1" ;; esac
AC_MSG_CHECKING([GStreamer OpenGL apis ...])
GST_GL_APIS=`$PKG_CONFIG --variable=gl_apis gstreamer-gl-1.0`
AC_MSG_RESULT([$GST_GL_APIS])
GST_GL_HAVE_API_GLES2=""
GST_GL_HAVE_API_GL=""
case "$GST_GL_APIS" in *gles2*) GST_GL_HAVE_API_GLES2="1" ;; esac
case "$GST_GL_APIS" in "gl"|"gl "*|*" gl"|*" gl "*) GST_GL_HAVE_API_GL="1" ;; esac
fi
2007-07-13 16:31:27 +00:00
AM_CONDITIONAL(HAVE_GST_CHECK, test "x$HAVE_GST_CHECK" = "xyes")
2007-02-13 09:46:26 +00:00
dnl Check for documentation xrefs
GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
2012-04-04 12:33:23 +00:00
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_API_VERSION`"
2007-02-13 09:46:26 +00:00
AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
AC_SUBST(GSTPB_PREFIX)
2005-12-30 15:28:44 +00:00
dnl GTK is optional and used in examples
2010-11-05 16:24:42 +00:00
HAVE_GTK=no
2012-08-09 08:25:38 +00:00
GTK_REQ=3.0.0
2009-05-05 11:33:57 +00:00
if test "x$BUILD_EXAMPLES" = "xyes"; then
2012-08-09 08:31:39 +00:00
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQ, HAVE_GTK=yes, HAVE_GTK=no)
2011-03-02 22:21:15 +00:00
dnl some examples need gtk+-x11
2012-08-09 08:31:39 +00:00
PKG_CHECK_MODULES(GTK_X11, gtk+-x11-3.0 >= $GTK_REQ, HAVE_GTK_X11=yes, HAVE_GTK_X11=no)
2009-05-05 11:33:57 +00:00
AC_SUBST(GTK_LIBS)
AC_SUBST(GTK_CFLAGS)
2005-12-30 15:28:44 +00:00
fi
2009-05-11 07:58:48 +00:00
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
2011-03-02 22:21:15 +00:00
AM_CONDITIONAL(HAVE_GTK_X11, test "x$HAVE_GTK_X11" = "xyes")
2005-12-30 15:28:44 +00:00
2015-12-21 11:31:19 +00:00
dnl Check for -Bsymbolic-functions linker flag used to avoid
dnl intra-library PLT jumps, if available.
AC_ARG_ENABLE(Bsymbolic,
[AS_HELP_STRING([--disable-Bsymbolic],[avoid linking with -Bsymbolic])],,
[SAVED_LDFLAGS="${LDFLAGS}" SAVED_LIBS="${LIBS}"
AC_MSG_CHECKING([for -Bsymbolic-functions linker flag])
LDFLAGS=-Wl,-Bsymbolic-functions
LIBS=
AC_TRY_LINK([], [return 0],
AC_MSG_RESULT(yes)
enable_Bsymbolic=yes,
AC_MSG_RESULT(no)
enable_Bsymbolic=no)
LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"])
2005-11-14 02:13:35 +00:00
dnl *** set variables based on configure arguments ***
dnl set license and copyright notice
GST_LICENSE="LGPL"
AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
AC_SUBST(GST_LICENSE)
dnl set location of plugin directory
2007-02-28 19:29:25 +00:00
AG_GST_SET_PLUGINDIR
2005-11-14 02:13:35 +00:00
2010-09-23 23:01:05 +00:00
dnl set release date/time
AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
["${srcdir}/gst-plugins-good.doap"],
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
2012-05-23 16:07:35 +00:00
# set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
dnl make sure it doesn't complain about unused variables if debugging is disabled
NO_WARNINGS=""
AG_GST_CHECK_GST_DEBUG_DISABLED([NO_WARNINGS="-Wno-unused"], [NO_WARNINGS=""])
2005-11-14 02:13:35 +00:00
dnl define an ERROR_CFLAGS Makefile variable
2010-04-12 23:14:46 +00:00
dnl -Wundef: too many broken headers
2012-05-30 09:09:25 +00:00
AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wold-style-definition -Waggregate-return
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
-Wnested-externs $NO_WARNINGS])
2005-11-14 02:13:35 +00:00
2008-02-23 12:23:38 +00:00
dnl define an ERROR_CXXFLAGS Makefile variable
2012-01-19 14:24:04 +00:00
AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [
2010-04-12 10:40:11 +00:00
-Wmissing-declarations -Wredundant-decls
2010-04-15 10:13:46 +00:00
-Wwrite-strings
2012-05-23 16:07:35 +00:00
-Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
$NO_WARNINGS])
2008-02-23 12:23:38 +00:00
2012-05-30 09:09:25 +00:00
dnl define an ERROR_OBJCFLAGS Makefile variable
AG_GST_SET_ERROR_OBJCFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wold-style-definition
-Winit-self -Wmissing-include-dirs -Wno-multichar
-Wnested-externs $NO_WARNINGS])
2005-11-14 02:13:35 +00:00
dnl define correct level for debugging messages
2010-01-27 01:18:51 +00:00
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
2005-11-14 02:13:35 +00:00
dnl used in examples
2007-02-28 19:29:25 +00:00
AG_GST_DEFAULT_ELEMENTS
2005-11-14 02:13:35 +00:00
2008-03-03 12:10:55 +00:00
dnl *** plug-ins to include ***
dnl these are all the gst plug-ins, compilable without additional libs
dnl videofilter is at the top because others depend on it
AG_GST_CHECK_PLUGIN(alpha)
AG_GST_CHECK_PLUGIN(apetag)
AG_GST_CHECK_PLUGIN(audiofx)
2011-04-07 13:43:42 +00:00
AG_GST_CHECK_PLUGIN(audioparsers)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(auparse)
AG_GST_CHECK_PLUGIN(autodetect)
AG_GST_CHECK_PLUGIN(avi)
AG_GST_CHECK_PLUGIN(cutter)
2009-04-15 13:03:27 +00:00
AG_GST_CHECK_PLUGIN(debugutils)
2009-05-13 08:46:40 +00:00
AG_GST_CHECK_PLUGIN(deinterlace)
2013-03-09 01:18:30 +00:00
AG_GST_CHECK_PLUGIN(dtmf)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(effectv)
AG_GST_CHECK_PLUGIN(equalizer)
2009-05-13 08:30:35 +00:00
AG_GST_CHECK_PLUGIN(flv)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(flx)
AG_GST_CHECK_PLUGIN(goom)
AG_GST_CHECK_PLUGIN(goom2k1)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(icydemux)
AG_GST_CHECK_PLUGIN(id3demux)
2010-05-11 13:23:47 +00:00
AG_GST_CHECK_PLUGIN(imagefreeze)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(interleave)
2011-04-30 16:46:36 +00:00
AG_GST_CHECK_PLUGIN(isomp4)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(law)
AG_GST_CHECK_PLUGIN(level)
AG_GST_CHECK_PLUGIN(matroska)
AG_GST_CHECK_PLUGIN(monoscope)
AG_GST_CHECK_PLUGIN(multifile)
AG_GST_CHECK_PLUGIN(multipart)
2008-07-19 01:01:13 +00:00
AG_GST_CHECK_PLUGIN(replaygain)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(rtp)
2009-08-11 01:31:44 +00:00
AG_GST_CHECK_PLUGIN(rtpmanager)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(rtsp)
2010-02-12 10:18:26 +00:00
AG_GST_CHECK_PLUGIN(shapewipe)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(smpte)
AG_GST_CHECK_PLUGIN(spectrum)
AG_GST_CHECK_PLUGIN(udp)
AG_GST_CHECK_PLUGIN(videobox)
AG_GST_CHECK_PLUGIN(videocrop)
2011-08-02 09:17:38 +00:00
AG_GST_CHECK_PLUGIN(videofilter)
2008-03-03 12:10:55 +00:00
AG_GST_CHECK_PLUGIN(videomixer)
AG_GST_CHECK_PLUGIN(wavenc)
AG_GST_CHECK_PLUGIN(wavparse)
2009-05-15 23:00:07 +00:00
AG_GST_CHECK_PLUGIN(y4m)
2008-03-03 12:10:55 +00:00
dnl disable experimental plug-ins
if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
AG_GST_DISABLE_PLUGIN(monoscope)
fi
2005-11-14 02:13:35 +00:00
dnl *** sys plug-ins ***
echo
AC_MSG_NOTICE([Checking libraries for plugins in sys/])
echo
2001-12-20 20:16:57 +00:00
2007-06-08 17:37:02 +00:00
dnl DirectSound
translit(dnm, m, l) AM_CONDITIONAL(USE_DIRECTSOUND, true)
AG_GST_CHECK_FEATURE(DIRECTSOUND, [DirectSound plug-in], directsoundsink, [
HAVE_DIRECTSOUND="no"
save_CFLAGS="$CFLAGS"
save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
2015-08-16 19:21:51 +00:00
LIBS="$LIBS -ldsound -ldxerr9 -luser32 -lole32"
2007-06-08 17:37:02 +00:00
AC_MSG_CHECKING(for DirectSound LDFLAGS)
2012-03-09 15:25:02 +00:00
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
2007-06-08 17:37:02 +00:00
#include <windows.h>
#include <dxerr9.h>
#include <dsound.h>
2012-03-09 15:25:02 +00:00
]], [[
2007-06-08 17:37:02 +00:00
DXGetErrorString9 (0);
DirectSoundCreate(NULL, NULL, NULL);
2015-08-16 19:21:51 +00:00
CLSIDFromString(NULL, NULL);
2012-03-09 15:53:32 +00:00
]])
2007-06-08 17:37:02 +00:00
],
[HAVE_DIRECTSOUND="yes"],
[HAVE_DIRECTSOUND="no"])
AC_MSG_RESULT($HAVE_DIRECTSOUND)
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
LIBS=$save_LIBS
if test "x$HAVE_DIRECTSOUND" = "xyes"; then
dnl this is much more than we want
2015-08-16 19:21:51 +00:00
DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32 -lole32"
2007-06-08 17:37:02 +00:00
AC_SUBST(DIRECTSOUND_CFLAGS)
AC_SUBST(DIRECTSOUND_LDFLAGS)
AC_SUBST(DIRECTSOUND_LIBS)
fi
AC_SUBST(HAVE_DIRECTSOUND)
])
2011-12-26 22:22:59 +00:00
dnl *** Win32 WaveOut ***
translit(dnm, m, l) AM_CONDITIONAL(USE_WAVEFORM, true)
AG_GST_CHECK_FEATURE(WAVEFORM, [Win32 WaveForm], waveformsink, [
AC_CHECK_HEADER(mmsystem.h, HAVE_WAVEFORM="yes", HAVE_WAVEFORM="no", [#include <windows.h>])
])
2004-06-07 13:40:08 +00:00
dnl *** OSS audio *** (Linux, *BSD)
2005-07-08 10:47:30 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(OSS, [OSS audio], ossaudio, [
2005-07-08 10:47:30 +00:00
HAVE_OSS="yes"
dnl Linux and newer BSD versions :
AC_CHECK_HEADER(sys/soundcard.h, [
AC_DEFINE(HAVE_OSS_INCLUDE_IN_SYS,, [Define if OSS includes are in /sys/])
] , [
2005-12-10 14:57:48 +00:00
dnl Some old BSD versions and also newer OpenBSD versions :
2005-07-08 10:47:30 +00:00
AC_CHECK_HEADER(soundcard.h, [
AC_DEFINE(HAVE_OSS_INCLUDE_IN_ROOT,, [Define if OSS includes are in /])
], [
dnl Some old BSD versions :
AC_CHECK_HEADER(machine/soundcard.h, [
2005-11-14 02:13:35 +00:00
AC_DEFINE(HAVE_OSS_INCLUDE_IN_MACHINE,,
[Define if OSS includes are in /machine/])
2005-07-08 10:47:30 +00:00
], [
HAVE_OSS="no"
])
])
])
])
2001-12-20 20:16:57 +00:00
2010-05-11 15:08:21 +00:00
dnl *** oss4 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSS4, true)
AG_GST_CHECK_FEATURE(OSS4, [Open Sound System 4], oss4, [
AC_MSG_CHECKING([Checking if we can build the OSS4 elements])
AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/stat.h sys/types.h],
[test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"],
[OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"])
])
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
dnl *** OSX Audio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_AUDIO, true)
2013-04-17 08:10:46 +00:00
HAVE_IOS="no"
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
AG_GST_CHECK_FEATURE(OSX_AUDIO, [OSX audio], osxaudio, [
2013-03-05 20:22:18 +00:00
AC_CHECK_HEADER(CoreAudio/CoreAudio.h,
2013-04-17 08:10:46 +00:00
[HAVE_OSX_AUDIO="yes"],
2013-03-05 20:22:18 +00:00
[AC_CHECK_HEADER(CoreAudio/CoreAudioTypes.h,
2013-04-17 08:10:46 +00:00
[
HAVE_OSX_AUDIO="yes"
HAVE_IOS="yes"
], [
HAVE_OSX_AUDIO="no"
HAVE_IOS="no"
])]
)
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
])
2013-04-17 08:10:46 +00:00
if test "x$HAVE_IOS" = "xyes"; then
2013-03-05 20:22:18 +00:00
AC_DEFINE(HAVE_IOS, 1, [building for iOS platofrm])
fi
2013-04-17 08:10:46 +00:00
AM_CONDITIONAL(HAVE_IOS, test "x$HAVE_IOS" = "xyes")
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
2007-06-12 20:15:29 +00:00
dnl *** OS X video ***
translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
HAVE_OSX_VIDEO="no"
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
2014-01-01 20:23:50 +00:00
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
2014-01-08 09:31:18 +00:00
dnl also require Snow Leopard or newer
2014-01-08 09:41:24 +00:00
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
2014-01-09 16:32:15 +00:00
#include <AvailabilityMacros.h>
2014-01-08 09:31:18 +00:00
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
#error Too old OSX version
#endif
2014-01-08 09:41:24 +00:00
]], [[return 0;]])],[HAVE_OSX_VIDEO="yes"],[HAVE_OSX_VIDEO="no"])
2014-01-01 20:23:50 +00:00
])
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
2014-03-15 15:47:51 +00:00
dnl *** Video 4 Linux 2 ***
dnl renamed to GST_V4L2 because of some conflict with kernel headers
translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L2, true)
2014-03-15 17:05:32 +00:00
HAVE_GST_V4L2=no
2014-03-15 15:47:51 +00:00
AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], video4linux2, [
AC_MSG_CHECKING([Checking for video4linux2 header ...])
2014-03-15 17:05:32 +00:00
AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ],
2014-03-15 15:47:51 +00:00
[
2015-01-08 02:52:17 +00:00
AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ],
[
AC_CHECK_HEADER(sys/videoio.h, [ HAVE_GST_V4L2=yes ])
])
2014-03-15 15:47:51 +00:00
])
if test "x$HAVE_VIDEODEV" = "xno"; then
AC_MSG_WARN([video4linux2 was not found])
fi
])
2009-07-03 06:38:43 +00:00
# Optional gudev for device probing
AC_ARG_WITH([gudev],
2012-11-07 20:35:50 +00:00
AS_HELP_STRING([--with-gudev],[device detection with gudev]),
2009-07-03 06:38:43 +00:00
[],
[with_gudev=check])
2014-03-17 03:46:22 +00:00
if test x$HAVE_GST_V4L2 = xyes; then
if test x$with_gudev != xno; then
PKG_CHECK_MODULES(GUDEV, [ gudev-1.0 >= 147 ],
[ AC_DEFINE(HAVE_GUDEV, 1,
[Whether gudev is available for device detection])
],
[true])
fi
2012-11-02 12:33:13 +00:00
fi
2009-07-03 06:38:43 +00:00
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
2008-12-07 19:01:35 +00:00
# Make libv4l2 non-automagic
AC_ARG_WITH([libv4l2],
2012-11-07 20:35:50 +00:00
AS_HELP_STRING([--with-libv4l2],[support video buffer conversion using libv4l2]),
2008-12-07 19:01:35 +00:00
[],
[with_libv4l2=check])
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>,
Hans de Goede <jwrdegoede at fedoraproject dot org>
* configure.ac:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_close),
(gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2_buffer_new), (gst_v4l2_buffer_pool_finalize),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list),
(gst_v4l2src_probe_caps_for_format_and_size),
(gst_v4l2src_probe_caps_for_format), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_get_nearest_size):
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
2008-11-04 12:32:48 +00:00
if test x$HAVE_GST_V4L2 = xyes; then
2008-12-07 19:01:35 +00:00
if test x$with_libv4l2 != xno; then
PKG_CHECK_MODULES(LIBV4L2, libv4l2,
[ have_libv4l2=yes
AC_DEFINE(HAVE_LIBV4L2, 1,
[Whether libv4l2 is available for video buffer conversion])
], [
have_libv4l2=no
])
else
have_libv4l2=no
fi
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
Original commit message from CVS:
Patch by: Bastien Nocera <hadess at hadess dot net>,
Hans de Goede <jwrdegoede at fedoraproject dot org>
* configure.ac:
* sys/v4l2/Makefile.am:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_close),
(gst_v4l2_get_norm), (gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2_buffer_finalize),
(gst_v4l2_buffer_new), (gst_v4l2_buffer_pool_finalize),
(gst_v4l2_buffer_pool_new), (gst_v4l2_buffer_pool_activate),
(gst_v4l2src_fill_format_list),
(gst_v4l2src_probe_caps_for_format_and_size),
(gst_v4l2src_probe_caps_for_format), (gst_v4l2src_grab_frame),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_get_nearest_size):
Optionally use libv4l to access v4l2 devices. Fixes bug #545033.
2008-11-04 12:32:48 +00:00
fi
2015-11-13 17:35:59 +00:00
dnl Allow enabling v4l2 device probing
2018-04-04 13:50:55 +00:00
default_v4l2_probe=no
2016-07-08 18:58:37 +00:00
AS_CASE([$host],
[*-*linux*],
[AS_CASE([$host_cpu],
[arm*], [
2018-04-04 13:50:55 +00:00
default_v4l2_probe=yes],
2016-07-11 16:05:06 +00:00
[aarch64*], [
2018-04-04 13:50:55 +00:00
default_v4l2_probe=yes])])
2015-11-13 17:35:59 +00:00
AC_ARG_ENABLE(
v4l2-probe,
AC_HELP_STRING(
[--enable-v4l2-probe],
2018-04-04 13:50:55 +00:00
[enable V4L2 plugin to probe devices]),
[], [enable_v4l2_probe=$default_v4l2_probe])
2016-07-08 18:58:37 +00:00
if test "x$enable_v4l2_probe" = "xyes"; then
2015-11-13 17:35:59 +00:00
AC_DEFINE(GST_V4L2_ENABLE_PROBE, 1,
[Define if Video4Linux probe shall be run at plugin load])
fi
2006-04-28 18:57:09 +00:00
dnl Check for X11
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],
2006-04-28 18:57:09 +00:00
[ximagesrc], [
2014-08-11 08:26:17 +00:00
PKG_CHECK_MODULES([X], [x11], [
2014-08-12 10:33:56 +00:00
HAVE_X="yes"
2006-04-28 18:57:09 +00:00
dnl check for Xfixes
2014-08-11 08:26:17 +00:00
PKG_CHECK_MODULES([XFIXES], [ xfixes ], [
2014-08-10 17:55:07 +00:00
AC_DEFINE(HAVE_XFIXES, 1, [Defined if Xfixes is available])
2014-08-11 08:26:17 +00:00
], [ HAVE_XFIXES="no" ])
2006-04-28 18:57:09 +00:00
dnl check for Xdamage
2014-08-11 08:26:17 +00:00
PKG_CHECK_MODULES([XDAMAGE], [ xdamage ], [
2014-08-10 17:55:07 +00:00
AC_DEFINE(HAVE_XDAMAGE, 1, [Defined if Xdamage is available])
2014-08-11 08:26:17 +00:00
], [ HAVE_XDAMAGE="no" ])
2006-04-28 18:57:09 +00:00
2014-08-10 17:55:07 +00:00
dnl check for X Shm
2014-08-11 08:26:17 +00:00
PKG_CHECK_MODULES([XEXT], [ xext ], [
AC_CHECK_LIB([Xext], [ XShmAttach ], [
2014-08-10 17:55:07 +00:00
AC_DEFINE(HAVE_XSHM, 1, [Defined if XShm is available])
XSHM_LIBS="$XEXT_LIBS"
XSHM_CFLAGS="$XEXT_CFLAGS"
2014-08-11 08:26:17 +00:00
], [ HAVE_XEXT="no" ] , [ $X_LIBS ])
2014-08-10 17:55:07 +00:00
])
AC_SUBST(XSHM_LIBS)
AC_SUBST(XSHM_CFLAGS)
2014-08-11 08:26:17 +00:00
], [ HAVE_X="no" ])
2006-04-28 18:57:09 +00:00
])
2005-11-14 02:13:35 +00:00
dnl *** ext plug-ins ***
dnl keep this list sorted alphabetically !
if test "x$BUILD_EXTERNAL" = "xyes"; then
echo
AC_MSG_NOTICE([Checking libraries for plugins in ext/])
echo
2005-05-07 18:50:39 +00:00
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
dnl *** aalib ***
translit(dnm, m, l) AM_CONDITIONAL(USE_AALIB, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(AALIB, [aalib ASCII Art library], aasink, [
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
AM_PATH_AALIB(, HAVE_AALIB=yes, HAVE_AALIB=no)
])
2005-10-12 03:07:26 +00:00
dnl *** cairo ***
translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
2013-01-01 11:52:09 +00:00
AG_GST_CHECK_FEATURE(CAIRO, [Cairo graphics rendering and gobject bindings], cairo, [
AG_GST_PKG_CHECK_MODULES(CAIRO, cairo >= 1.10.0 cairo-gobject >= 1.10.0)
2011-01-28 00:14:04 +00:00
])
Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
dnl *** FLAC ***
translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flac, [
2009-03-27 21:17:05 +00:00
AG_GST_PKG_CHECK_MODULES(FLAC, flac >= 1.1.4)
Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
])
2006-02-24 19:51:29 +00:00
dnl *** GDK pixbuf ***
translit(dnm, m, l) AM_CONDITIONAL(USE_GDK_PIXBUF, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(GDK_PIXBUF, [GDK pixbuf], gdkpixbuf, [
2009-05-05 11:27:21 +00:00
AG_GST_PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= 2.8.0)
2006-02-24 19:51:29 +00:00
])
2018-02-10 13:20:43 +00:00
dnl *** gtk+ ***
HAVE_GTK3_GL="no"
translit(dnm, m, l) AM_CONDITIONAL(USE_GTK3, true)
AG_GST_CHECK_FEATURE(GTK3, [Gtk+ elements], gtk, [
PKG_CHECK_MODULES(GTK3, gtk+-3.0, [
AC_DEFINE([HAVE_GTK3], 1, [Define if Gtk+ 3.0 is installed])
HAVE_GTK3="yes"
], [
HAVE_GTK3="no"
])
PKG_CHECK_MODULES(GTK3_GL, gtk+-3.0 >= 3.15.0, [
GDK_WINDOWING="no"
if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1"; then
PKG_CHECK_MODULES(GTK3_X11, gtk+-x11-3.0, [
GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_X11_CFLAGS"
GTK3_LIBS="$GTK3_LIBS $GTK3_X11_LIBS"
GDK_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Gtk X11 integration])])
fi
if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
PKG_CHECK_MODULES(GTK3_WAYLAND, gtk+-wayland-3.0, [
GTK3_CFLAGS="$GTK3_CFLAGS $GTK3_WAYLAND_CFLAGS"
GTK3_LIBS="$GTK3_LIBS $GTK3_WAYLAND_LIBS"
GDK_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Gtk Wayland integration])])
fi
if test "x$GDK_WINDOWING" = "xyes" -a "x$HAVE_GST_GL" = "xyes"; then
AC_DEFINE([HAVE_GTK3_GL], 1, [Define if Gtk+ 3.0 GL is installed])
HAVE_GTK3_GL="yes"
fi
], [
HAVE_GTK3_GL="no"
])
])
AM_CONDITIONAL(USE_GTK3_GL, test "x$HAVE_GTK3_GL" = "xyes")
2011-01-02 15:25:41 +00:00
dnl *** Jack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_JACK, true)
AG_GST_CHECK_FEATURE(JACK, Jack, jack, [
PKG_CHECK_MODULES(JACK, jack >= 0.99.10, HAVE_JACK="yes", HAVE_JACK="no")
AC_SUBST(JACK_CFLAGS)
AC_SUBST(JACK_LIBS)
2011-03-11 09:29:08 +00:00
2011-04-05 07:44:01 +00:00
AG_GST_PKG_CHECK_MODULES(JACK_0_120_1, jack >= 0.120.1 jack < 1.0)
if test x$HAVE_JACK_0_120_1 = xyes; then
AC_DEFINE(HAVE_JACK_0_120_1, 1, [defined if jack >= 0.120.1 is available])
2011-03-11 09:29:08 +00:00
fi
2011-04-11 09:44:19 +00:00
AG_GST_PKG_CHECK_MODULES(JACK_1_9_7, jack >= 1.9.7)
if test x$HAVE_JACK_1_9_7 = xyes; then
AC_DEFINE(HAVE_JACK_1_9_7, 1, [defined if jack >= 1.9.7 is available])
fi
2011-03-11 09:29:08 +00:00
2011-01-02 15:25:41 +00:00
])
2005-08-25 09:30:24 +00:00
dnl *** jpeg ***
dnl FIXME: we could use header checks here as well IMO
translit(dnm, m, l) AM_CONDITIONAL(USE_JPEG, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(JPEG, [jpeg library], jpeg, [
2005-08-25 09:30:24 +00:00
AC_ARG_WITH(jpeg-mmx,
[ --with-jpeg-mmx, path to MMX'ified JPEG library])
OLD_LIBS="$LIBS"
if test x$with_jpeg_mmx != x; then
LIBS="$LIBS -L$with_jpeg_mmx"
fi
AC_CHECK_LIB(jpeg-mmx, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
JPEG_LIBS="$LIBS -ljpeg-mmx"
LIBS="$OLD_LIBS"
if test x$HAVE_JPEG != xyes; then
AC_CHECK_LIB(jpeg, jpeg_set_defaults, HAVE_JPEG="yes", HAVE_JPEG="no")
JPEG_LIBS="-ljpeg"
fi
AC_SUBST(JPEG_LIBS)
])
2017-08-26 08:03:08 +00:00
dnl *** lame ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true)
AG_GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [
AG_GST_CHECK_LIBHEADER(LAME, mp3lame, lame_init, $LIBM, lame/lame.h,
[
HAVE_LAME="yes"
LAME_LIBS="-lmp3lame $LIBM"
dnl is lame presets available
LAME_CFLAGS=""
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lame/lame.h>]], [[ int preset = MEDIUM ]])],[LAME_CFLAGS="-DGSTLAME_PRESET"],[LAME_CFLAGS=""
])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <lame/lame.h>]], [[
void *ptr = &lame_set_VBR_quality
]])],[LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"],[LAME_CFLAGS="$LAME_CFLAGS"
])
AC_SUBST(LAME_CFLAGS)
AC_SUBST(LAME_LIBS)
])
])
2005-05-08 12:22:04 +00:00
dnl *** libcaca ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [
AG_GST_PKG_CHECK_MODULES(LIBCACA, caca)
2005-05-08 12:22:04 +00:00
])
Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:47 +00:00
dnl *** libdv ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBDV, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBDV, [libdv DV demuxer/decoder], dv, [
AG_GST_PKG_CHECK_MODULES(LIBDV, libdv >= 0.100)
Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:47 +00:00
])
2005-08-25 09:30:24 +00:00
dnl *** libpng ***
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBPNG, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(LIBPNG, [Portable Network Graphics library], png, [
2010-03-15 20:29:06 +00:00
AG_GST_PKG_CHECK_MODULES(LIBPNG, libpng >= 1.2)
2017-10-19 16:23:34 +00:00
if test $HAVE_LIBPNG = "yes"; then
2017-10-20 09:08:24 +00:00
PKG_CHECK_MODULES(LIBPNG_1_5, libpng >= 1.5.1, [
2017-10-19 16:23:34 +00:00
AC_DEFINE(HAVE_LIBPNG_1_5, 1, [Defined if libpng version is 1.5.1 or newer])
], [true])
fi
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does no longer need to be one single buffer.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/jpeg/gstjpeg.c: (plugin_init):
* ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_get_type),
(gst_jpeg_dec_finalize), (gst_jpeg_dec_base_init),
(gst_jpeg_dec_class_init), (gst_jpeg_dec_fill_input_buffer),
(gst_jpeg_dec_init_source), (gst_jpeg_dec_skip_input_data),
(gst_jpeg_dec_resync_to_restart), (gst_jpeg_dec_term_source),
(gst_jpeg_dec_my_output_message), (gst_jpeg_dec_my_emit_message),
(gst_jpeg_dec_my_error_exit), (gst_jpeg_dec_init),
(is_jpeg_start_marker), (is_jpeg_end_marker),
(gst_jpeg_dec_find_jpeg_header), (gst_jpeg_dec_ensure_header),
(gst_jpeg_dec_have_end_marker),
(gst_jpeg_dec_parse_tag_has_entropy_segment),
(gst_jpeg_dec_parse_image_data), (gst_jpeg_dec_chain),
(gst_jpeg_dec_change_state):
* ext/jpeg/gstjpegdec.h:
Port jpegdec to 0.9; handles 'progressive loading' now, ie. input does
no longer need to be one single buffer.
2005-08-08 12:13:08 +00:00
])
2017-08-20 12:56:19 +00:00
dnl *** mpg123 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MPG123, true)
AG_GST_CHECK_FEATURE(MPG123, [mpg123 audio decoder], mpg123, [
PKG_CHECK_MODULES(MPG123, libmpg123 >= 1.13, HAVE_MPG123="yes", HAVE_MPG123="no")
AC_SUBST(MPG123_CFLAGS)
AC_SUBST(MPG123_LIBS)
])
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
dnl *** pulseaudio ***
translit(dnm, m, l) AM_CONDITIONAL(USE_PULSE, true)
AG_GST_CHECK_FEATURE(PULSE, [pulseaudio plug-in], pulseaudio, [
2010-08-17 14:26:41 +00:00
dnl used in ext/pulse/pulseutil.c
AC_CHECK_HEADERS([process.h])
2013-06-12 22:27:24 +00:00
AG_GST_PKG_CHECK_MODULES(PULSE, libpulse >= 2.0)
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
])
2005-07-07 08:34:11 +00:00
dnl *** dv1394 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DV1394, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(DV1394, [raw1394 and avc1394 library], 1394, [
2010-06-08 07:22:30 +00:00
dnl first test for libraw1394 >= 2.0.0
AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 2.0.0)
2007-02-28 19:29:25 +00:00
AG_GST_PKG_CHECK_MODULES(LIBIEC61883, libiec61883 >= 1.0.0)
2005-07-07 08:34:11 +00:00
dnl now see how far we got
if test x$HAVE_RAW1394 = xyes && \
2006-06-19 10:00:18 +00:00
test x$HAVE_LIBIEC61883 = xyes; then
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(AVC1394,
2006-06-19 10:00:18 +00:00
avc1394, avc1394_send_command, $RAW1394_LIBS,
libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ROM1394,
2006-06-19 10:00:18 +00:00
rom1394, rom1394_free_directory, $RAW1394_LIBS,
libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
if test x$HAVE_AVC1394 = xyes && \
test x$HAVE_AVC1394 = xyes && \
test x$HAVE_ROM1394 = xyes; then
HAVE_DV1394=yes
DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
AC_SUBST(DV1394_CFLAGS)
AC_SUBST(DV1394_LIBS)
fi
2005-07-07 08:34:11 +00:00
else
2006-06-19 10:00:18 +00:00
if test x$HAVE_RAW1394 = xno; then
2007-02-28 19:29:25 +00:00
AG_GST_PKG_CHECK_MODULES(RAW1394, libraw1394 >= 1.1.0)
AG_GST_CHECK_LIBHEADER(AVC1394,
2006-06-19 10:00:18 +00:00
avc1394, avc1394_send_command, $RAW1394_LIBS,
libavc1394/avc1394.h, AVC1394_LIBS="-lavc1394")
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ROM1394,
2006-06-19 10:00:18 +00:00
rom1394, rom1394_free_directory, $RAW1394_LIBS,
libavc1394/rom1394.h, ROM1394_LIBS="-lrom1394")
if test x$HAVE_RAW1394 = xyes && \
test x$HAVE_AVC1394 = xyes && \
test x$HAVE_ROM1394 = xyes; then
HAVE_DV1394=yes
DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
DV1394_CFLAGS="$RAW1394_CFLAGS"
if test x$HAVE_LIBIEC61883 = xyes; then
DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
fi
AC_SUBST(DV1394_CFLAGS)
AC_SUBST(DV1394_LIBS)
fi
fi
2005-07-07 08:34:11 +00:00
fi
])
2010-10-04 20:31:32 +00:00
AM_CONDITIONAL(USE_LIBIEC61883, [ test "x${HAVE_LIBIEC61883}" = xyes ] )
2005-07-07 08:34:11 +00:00
2018-02-12 18:34:16 +00:00
dnl *** Qt ***
translit(dnm, m, l) AM_CONDITIONAL(USE_QT, true)
AG_GST_CHECK_FEATURE(QT, [Qt elements], qt, [
PKG_CHECK_MODULES(QT, Qt5Core Qt5Gui Qt5Qml Qt5Quick >= 5.4.0, [
QT_PATH=`$PKG_CONFIG --variable=exec_prefix Qt5Core`
QT_HOST_PATH=`$PKG_CONFIG --variable=host_bins Qt5Core`
AC_ARG_WITH([moc],
AS_HELP_STRING([--with-moc], [Set location of qt moc tool]),
[MOC=$withval])
AC_PATH_PROGS(MOC, [moc-qt5 moc], [moc], ["${QT_HOST_PATH}" "${QT_PATH}/bin"])
AC_ARG_WITH([rcc],
AS_HELP_STRING([--with-rcc], [Set location of qt rcc tool]),
[RCC=$withval])
AC_PATH_PROGS(RCC, [rcc-qt5 rcc], [rcc], ["${QT_HOST_PATH}" "${QT_PATH}/bin"])
AC_ARG_WITH([uic],
AS_HELP_STRING([--with-uic], [Set location of qt uic tool]),
[UIC=$withval])
AC_PATH_PROGS(UIC, [uic-qt5 uic], [uic], ["${QT_HOST_PATH}" "${QT_PATH}/bin"])
if test "x$MOC" = "x" || test "x$UIC" = "x" || test "x$RCC" = "x"; then
AC_MSG_WARN([One of the required qt build programs was not found])
HAVE_QT="no"
else
HAVE_QT="yes"
HAVE_QT_WINDOWING="no"
QT_VERSION="`$PKG_CONFIG --define-prefix --modversion Qt5Core`"
QPA_INCLUDE_PATH=`$PKG_CONFIG --variable=includedir Qt5Core`/QtGui/${QT_VERSION}/QtGui
AS_IF([test -f "$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH/qpa/qplatformnativeinterface.h"], [
QT_CFLAGS="$QT_CFLAGS -I$PKG_CONFIG_SYSROOT_DIR/$QPA_INCLUDE_PATH"
HAVE_QT_QPA_HEADER="yes"
2018-03-04 14:14:08 +00:00
AC_DEFINE([HAVE_QT_QPA_HEADER], [], [Define if the Qt QPA header is installed])
2018-02-12 18:34:16 +00:00
], [AC_MSG_NOTICE([Cannot find QPA])])
if test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_GLX" = "x1" || test "x$GST_GL_HAVE_WINDOW_X11" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
PKG_CHECK_MODULES(QT_X11, Qt5X11Extras, [
AC_DEFINE([HAVE_QT_X11], [], [Define if Qt X11 integration is installed])
QT_CFLAGS="$QT_CFLAGS $QT_X11_CFLAGS"
QT_LIBS="$QT_LIBS $QT_X11_LIBS"
HAVE_QT_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Qt X11 integration])])
fi
if test "x$GST_GL_HAVE_WINDOW_WAYLAND" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EGL" = "x1" -a "x$HAVE_QT_QPA_HEADER" = "xyes"; then
PKG_CHECK_MODULES(QT_WAYLAND, Qt5WaylandClient, [
AC_DEFINE([HAVE_QT_WAYLAND], [],
[Define if Qt Wayland integration is installed])
QT_CFLAGS="$QT_CFLAGS $QT_WAYLAND_CFLAGS"
QT_LIBS="$QT_LIBS $QT_WAYLAND_LIBS"
HAVE_QT_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Qt Wayland integration])])
fi
if test "x$GST_GL_HAVE_PLATFORM_EGL" = "x1"; then
if test "x$GST_GL_HAVE_WINDOW_ANDROID" = "x1"; then
PKG_CHECK_MODULES(QT_ANDROID, Qt5AndroidExtras, [
# c++ on android requires a standard library and there are multiple
# choices. cerbero provides a pkg-config file the describes a choice
# so try to use that. Outside cerbero one has to pass these flags
# manually for the library one is using
PKG_CHECK_MODULES(GNUSTL, gnustl, [
QT_CFLAGS="$QT_CFLAGS $GNUSTL_CFLAGS"
QT_LIBS="$QT_LIBS $GNUSTL_LIBS"
], [
AC_MSG_NOTICE([Could not find Standard C++ library])])
2019-01-22 06:15:49 +00:00
AC_DEFINE([HAVE_QT_ANDROID], [],
[Define if Qt Android integration is installed])
2018-02-12 18:34:16 +00:00
QT_CFLAGS="$QT_CFLAGS $QT_ANDROID_CFLAGS"
QT_LIBS="$QT_LIBS $QT_ANDROID_LIBS"
HAVE_QT_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Qt Android integration])])
else
AC_DEFINE([HAVE_QT_EGLFS], [],
[Define if Qt eglfs integration is installed])
HAVE_QT_WINDOWING="yes"
fi
fi
if test "x$GST_GL_HAVE_WINDOW_COCOA" = "x1" -a "x$GST_GL_HAVE_PLATFORM_CGL" = "x1"; then
PKG_CHECK_MODULES(QT_MAC, Qt5MacExtras, [
AC_DEFINE([HAVE_QT_MAC], [],
[Define if Qt Mac integration is installed])
QT_LIBDIR=`$PKG_CONFIG --variable=libdir Qt5Core`
QT_CFLAGS="$QT_CFLAGS $QT_MAC_CFLAGS -F$QT_LIBDIR -framework QtCore -framework QtGui -framework QtQuick -framework QtQml -framework QtMacExtras"
QT_LIBS="$QT_LIBS $QT_MAC_LIBS"
HAVE_QT_WINDOWING="yes"
], [AC_MSG_NOTICE([Could not find Qt Mac integration])])
fi
if test "x$GST_GL_HAVE_WINDOW_EAGL" = "x1" -a "x$GST_GL_HAVE_PLATFORM_EAGL" = "x1"; then
if test "x$HAVE_IOS" = "xyes"; then
# iOS doesn't have its own extras package so if we have the core
# modules we are good to go
AC_DEFINE([HAVE_QT_IOS], [],
[Define if Qt iOS integration is installed])
HAVE_QT_WINDOWING="yes"
fi
fi
if test "x$HAVE_QT_WINDOWING" = "xno"; then
AC_MSG_WARN([Could not find any Qt Windowing integration])
HAVE_QT="no"
fi
AC_SUBST([QT_CFLAGS])
AC_SUBST([QT_LIBS])
fi
], [
HAVE_QT="no"
])
])
2005-08-25 09:30:24 +00:00
dnl *** shout2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SHOUT2, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(SHOUT2, [Shoutcast/Icecast client library], shout2, [
AG_GST_PKG_CHECK_MODULES(SHOUT2, shout >= 2.0)
2005-05-10 20:10:43 +00:00
])
2003-01-16 09:54:28 +00:00
2008-04-12 23:30:54 +00:00
dnl *** soup ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SOUP, true)
AG_GST_CHECK_FEATURE(SOUP, [soup http client plugin (2.4)], souphttpsrc, [
2015-06-10 13:17:08 +00:00
PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.48, [HAVE_SOUP="yes"], [HAVE_SOUP="no"])
2008-04-12 23:30:54 +00:00
AC_SUBST(SOUP_CFLAGS)
AC_SUBST(SOUP_LIBS)
])
2014-11-22 21:28:35 +00:00
dnl *** speex ***
2005-08-23 15:14:01 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_SPEEX, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(SPEEX, [speex speech codec], speex, [
AG_GST_PKG_CHECK_MODULES(SPEEX, speex >= 1.1.6)
2005-08-23 15:14:01 +00:00
])
2005-08-02 11:42:33 +00:00
2006-05-01 11:46:33 +00:00
dnl *** taglib ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TAGLIB, true)
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_FEATURE(TAGLIB, [taglib tagging library], taglib, [
2009-04-26 14:59:50 +00:00
AG_GST_PKG_CHECK_MODULES(TAGLIB, taglib >= 1.5)
2006-05-01 11:46:33 +00:00
if test "x$HAVE_CXX" != "xyes"; then
USE_TAGLIB=false
AC_MSG_NOTICE([Not building taglib plugin: no C++ compiler found])
2008-07-17 14:40:51 +00:00
else
dnl work around bug in taglib 1.5 headers, remove once there is a 1.6
AS_CXX_COMPILER_FLAG([-Wno-attributes], [
TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
], [
TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
])
AC_SUBST(TAGLIB_CXXFLAGS)
2006-05-01 11:46:33 +00:00
fi
])
2017-08-26 08:41:13 +00:00
dnl *** twolame ***
translit(dnm, m, l) AM_CONDITIONAL(USE_TWOLAME, true)
AG_GST_CHECK_FEATURE(TWOLAME, [twolame], twolame, [
PKG_CHECK_MODULES(TWOLAME, twolame >= 0.3.10, [
HAVE_TWOLAME="yes"], [
HAVE_TWOLAME="no"
])
AC_SUBST(TWOLAME_CFLAGS)
AC_SUBST(TWOLAME_LIBS)
])
2012-09-16 13:43:39 +00:00
dnl *** vpx ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VPX, vpx)
AG_GST_CHECK_FEATURE(VPX, [VPX decoder], vpx, [
PKG_CHECK_MODULES(VPX, vpx >= 1.1.0, [HAVE_VPX="yes"], [HAVE_VPX="no"])
2013-06-21 11:07:30 +00:00
HAVE_VP8=no
HAVE_VP9=no
2012-09-16 13:43:39 +00:00
if test $HAVE_VPX = "yes"; then
OLD_LIBS="$LIBS"
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $VPX_CFLAGS"
LIBS="$LIBS $VPX_LIBS"
AC_CHECK_LIB(vpx, vpx_codec_vp8_cx_algo, [
HAVE_VP8=yes
AC_DEFINE(HAVE_VP8_ENCODER, 1, [Defined if the VP8 encoder is available])
])
AC_CHECK_LIB(vpx, vpx_codec_vp8_dx_algo, [
HAVE_VP8=yes
AC_DEFINE(HAVE_VP8_DECODER, 1, [Defined if the VP8 decoder is available])
])
2013-12-23 18:23:27 +00:00
PKG_CHECK_MODULES(VPX_130, vpx >= 1.3.0, [
AC_CHECK_LIB(vpx, vpx_codec_vp9_cx_algo, [
HAVE_VP9=yes
AC_DEFINE(HAVE_VP9_ENCODER, 1, [Defined if the VP9 encoder is available])
])
AC_CHECK_LIB(vpx, vpx_codec_vp9_dx_algo, [
HAVE_VP9=yes
AC_DEFINE(HAVE_VP9_DECODER, 1, [Defined if the VP9 decoder is available])
])
], [true])
2015-12-01 00:20:13 +00:00
PKG_CHECK_MODULES(VPX_140, vpx >= 1.4.0, [
AC_DEFINE(HAVE_VPX_1_4, 1, [Defined if the VPX library version is 1.4 or bigger])
], [true])
2019-02-05 21:14:18 +00:00
PKG_CHECK_MODULES(VPX_180, vpx >= 1.8.0, [
AC_DEFINE(HAVE_VPX_1_8, 1, [Defined if the VPX library version is 1.8 or bigger])
], [true])
2012-09-16 13:43:39 +00:00
LIBS="$OLD_LIBS"
CFLAGS="$OLD_CFLAGS"
fi
AC_SUBST(VPX_LIBS)
AC_SUBST(VPX_CFLAGS)
])
2007-06-08 20:19:55 +00:00
dnl *** wavpack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_WAVPACK, true)
AG_GST_CHECK_FEATURE(WAVPACK, [wavpack plug-in], wavpack, [
2014-11-01 15:33:23 +00:00
AG_GST_PKG_CHECK_MODULES(WAVPACK, wavpack >= 4.60.0)
2007-06-08 20:19:55 +00:00
])
2011-07-14 13:42:36 +00:00
dnl *** qtdemux & matroska prefer to have zlib ***
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
translit(dnm, m, l) AM_CONDITIONAL(USE_ZLIB, true)
2011-07-14 13:42:36 +00:00
AG_GST_CHECK_FEATURE(ZLIB, [zlib support for qtdemux/matroska],, [
2007-02-28 19:29:25 +00:00
AG_GST_CHECK_LIBHEADER(ZLIB,
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
z, uncompress,, zlib.h, [
HAVE_ZLIB="yes"
ZLIB_LIBS="-lz"
AC_SUBST(ZLIB_LIBS)
])
])
Decode the codec private data and following ContentEncoding if necessary.
Original commit message from CVS:
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/lzo.c: (get_byte), (get_len), (copy),
(copy_backptr), (lzo1x_decode), (main):
* gst/matroska/lzo.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_decompress_data), (gst_matroska_decode_data),
(gst_matroska_decode_buffer),
(gst_matroska_decode_content_encodings),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Decode the codec private data and following ContentEncoding if
necessary.
Support bzip2, lzo and header stripped compression. For lzo use the
ffmpeg lzo implementation as liblzo is GPL licensed.
Fix zlib decompression.
2008-08-02 18:18:05 +00:00
dnl *** matroska prefers to have bz2 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_BZ2, true)
AG_GST_CHECK_FEATURE(BZ2, [bz2 library for matroska ],, [
2013-08-22 12:55:14 +00:00
save_LIBS=$LIBS
LIBS="$LIBS -lbz2"
AC_MSG_CHECKING([for BZ2_bzlibVersion in -lbz2])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <bzlib.h>]], [[const char *version = BZ2_bzlibVersion ();]])],[HAVE_BZ2=yes],[HAVE_BZ2=no])
AC_MSG_RESULT($HAVE_BZ2)
LIBS=$save_LIBS
2013-08-26 11:47:53 +00:00
if test "x$HAVE_BZ2" = "xyes"; then
BZ2_LIBS="-lbz2"
fi
Decode the codec private data and following ContentEncoding if necessary.
Original commit message from CVS:
* configure.ac:
* gst/matroska/Makefile.am:
* gst/matroska/lzo.c: (get_byte), (get_len), (copy),
(copy_backptr), (lzo1x_decode), (main):
* gst/matroska/lzo.h:
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_read_track_encoding),
(gst_matroska_decompress_data), (gst_matroska_decode_data),
(gst_matroska_decode_buffer),
(gst_matroska_decode_content_encodings),
(gst_matroska_demux_read_track_encodings),
(gst_matroska_demux_add_stream),
(gst_matroska_demux_parse_blockgroup_or_simpleblock):
* gst/matroska/matroska-ids.h:
Decode the codec private data and following ContentEncoding if
necessary.
Support bzip2, lzo and header stripped compression. For lzo use the
ffmpeg lzo implementation as liblzo is GPL licensed.
Fix zlib decompression.
2008-08-02 18:18:05 +00:00
AC_SUBST(BZ2_LIBS)
])
2006-06-17 14:35:37 +00:00
else
dnl not building plugins with external dependencies,
dnl but we still need to set the conditionals
AM_CONDITIONAL(USE_AALIB, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_BZ2, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_CAIRO, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_DIRECTSOUND, false)
AM_CONDITIONAL(USE_DV1394, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_FLAC, false)
AM_CONDITIONAL(USE_GDK_PIXBUF, false)
2018-02-12 15:44:35 +00:00
AM_CONDITIONAL(USE_GTK3, false)
AM_CONDITIONAL(USE_GTK3_GL, false)
2011-01-02 15:25:41 +00:00
AM_CONDITIONAL(USE_JACK, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_JPEG, false)
2017-08-26 08:03:08 +00:00
AM_CONDITIONAL(USE_LAME, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_LIBCACA, false)
AM_CONDITIONAL(USE_LIBDV, false)
2010-11-01 16:04:20 +00:00
AM_CONDITIONAL(USE_LIBIEC61883, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_LIBPNG, false)
2017-08-20 12:56:19 +00:00
AM_CONDITIONAL(USE_MPG123, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_OSS, false)
2010-05-11 15:08:21 +00:00
AM_CONDITIONAL(USE_OSS4, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_OSX_AUDIO, false)
AM_CONDITIONAL(USE_OSX_VIDEO, false)
AM_CONDITIONAL(USE_PULSE, false)
2018-02-12 18:34:16 +00:00
AM_CONDITIONAL(USE_QT, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_SHOUT2, false)
2008-04-12 23:30:54 +00:00
AM_CONDITIONAL(USE_SOUP, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_SPEEX, false)
AM_CONDITIONAL(USE_TAGLIB, false)
2017-08-26 08:41:13 +00:00
AM_CONDITIONAL(USE_TWOLAME, false)
2012-09-16 13:43:39 +00:00
AM_CONDITIONAL(USE_VPX, false)
2011-12-26 22:22:59 +00:00
AM_CONDITIONAL(USE_WAVEFORM, false)
2007-06-08 20:19:55 +00:00
AM_CONDITIONAL(USE_WAVPACK, false)
2008-09-01 13:29:29 +00:00
AM_CONDITIONAL(USE_X, false)
2006-06-17 14:35:37 +00:00
AM_CONDITIONAL(USE_ZLIB, false)
2005-11-14 02:13:35 +00:00
fi dnl of EXT plugins
2005-06-29 16:14:30 +00:00
2005-11-14 02:13:35 +00:00
dnl *** finalize CFLAGS, LDFLAGS, LIBS
2001-12-17 18:37:01 +00:00
2005-11-14 02:13:35 +00:00
dnl Overview:
dnl GST_OPTION_CFLAGS: common flags for profiling, debugging, errors, ...
dnl GST_*: flags shared by all built objects
2005-11-27 17:02:53 +00:00
dnl GST_ALL_LDFLAGS: linker flags shared by all
dnl GST_LIB_LDFLAGS: not needed, we don't install libraries
2005-11-14 02:13:35 +00:00
dnl GST_LT_LDFLAGS: library versioning of our libraries
dnl GST_PLUGIN_LDFLAGS: flags to be used for all plugins
2005-10-12 03:07:26 +00:00
2005-11-14 02:13:35 +00:00
dnl GST_OPTION_CFLAGS
if test "x$USE_DEBUG" = xyes; then
PROFILE_CFLAGS="-g"
fi
AC_SUBST(PROFILE_CFLAGS)
2005-08-30 19:01:18 +00:00
2008-02-08 01:07:02 +00:00
if test "x$PACKAGE_VERSION_NANO" = "x1"; then
2010-01-27 01:18:51 +00:00
dnl Define _only_ for git (not pre-releases or releases)
2010-09-21 10:31:59 +00:00
DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
2007-12-09 04:29:08 +00:00
else
DEPRECATED_CFLAGS=""
fi
2005-11-14 02:13:35 +00:00
AC_SUBST(DEPRECATED_CFLAGS)
2005-08-30 19:01:18 +00:00
2017-11-26 15:13:15 +00:00
VISIBILITY_CFLAGS=""
AS_COMPILER_FLAG([-fvisibility=hidden], [VISIBILITY_CFLAGS="-fvisibility=hidden"])
AC_SUBST(VISIBILITY_CFLAGS)
VISIBILITY_CXXFLAGS=""
if test "x$HAVE_CXX" = "xyes"; then
AS_CXX_COMPILER_FLAG([-fvisibility=hidden], [VISIBILITY_CXXFLAGS="-fvisibility=hidden"])
fi
AC_SUBST(VISIBILITY_CXXFLAGS)
2018-02-04 10:47:05 +00:00
dnl disable strict aliasing
AS_COMPILER_FLAG([-fno-strict-aliasing], [EXTRA_CFLAGS="-fno-strict-aliasing"])
AC_SUBST(EXTRA_CFLAGS)
2012-05-30 09:09:25 +00:00
dnl every flag in GST_OPTION_CFLAGS, GST_OPTION_CXXFLAGS and GST_OPTION_OBJCFLAGS can be overridden
2008-02-23 12:23:38 +00:00
dnl at make time with e.g. make ERROR_CFLAGS=""
2010-03-10 20:01:20 +00:00
GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2010-03-10 21:15:04 +00:00
GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2012-05-30 09:09:25 +00:00
GST_OPTION_OBJCFLAGS="\$(WARNING_OBJCFLAGS) \$(ERROR_OBJCFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_OPTION_CFLAGS)
2008-02-23 12:23:38 +00:00
AC_SUBST(GST_OPTION_CXXFLAGS)
2012-05-30 09:09:25 +00:00
AC_SUBST(GST_OPTION_OBJCFLAGS)
2003-10-31 20:03:30 +00:00
2005-11-14 02:13:35 +00:00
dnl our libraries need to be versioned correctly
AC_SUBST(GST_LT_LDFLAGS)
dnl FIXME: do we want to rename to GST_ALL_* ?
dnl prefer internal headers to already installed ones
dnl also add builddir include for enumtypes and marshal
dnl add ERROR_CFLAGS, but overridable
2011-07-05 09:12:25 +00:00
GST_CFLAGS="$GST_CFLAGS -DGST_USE_UNSTABLE_API"
2018-02-04 10:47:05 +00:00
GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(VISIBILITY_CXXFLAGS)"
GST_OBJCFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_OBJCFLAGS)"
GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $EXTRA_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS) \$(VISIBILITY_CFLAGS)"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_CFLAGS)
2008-02-23 12:23:38 +00:00
AC_SUBST(GST_CXXFLAGS)
2012-05-30 09:09:25 +00:00
AC_SUBST(GST_OBJCFLAGS)
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_LIBS)
2005-11-27 17:02:53 +00:00
dnl LDFLAGS really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
GST_ALL_LDFLAGS="-no-undefined"
2015-12-21 11:31:19 +00:00
if test "x${enable_Bsymbolic}" = "xyes"; then
GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
fi
2005-11-27 17:02:53 +00:00
AC_SUBST(GST_ALL_LDFLAGS)
2005-11-14 02:13:35 +00:00
dnl this really should only contain flags, not libs - they get added before
dnl whatevertarget_LIBS and -L flags here affect the rest of the linking
2017-11-26 15:13:15 +00:00
GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS"
2005-11-14 02:13:35 +00:00
AC_SUBST(GST_PLUGIN_LDFLAGS)
dnl *** output files ***
2001-12-17 18:37:01 +00:00
2013-08-03 00:38:34 +00:00
$MKDIR_P tests/check/orc
2005-08-30 17:32:12 +00:00
dnl keep this alphabetic per directory, please
2002-02-08 20:12:28 +00:00
AC_CONFIG_FILES(
2001-12-17 18:37:01 +00:00
Makefile
2001-12-21 11:46:15 +00:00
gst/Makefile
2005-05-18 09:58:13 +00:00
gst/alpha/Makefile
2006-02-06 10:56:07 +00:00
gst/apetag/Makefile
2006-08-27 17:14:06 +00:00
gst/audiofx/Makefile
2011-04-07 13:43:42 +00:00
gst/audioparsers/Makefile
2005-09-22 22:38:48 +00:00
gst/auparse/Makefile
Port auto/gconfsinks to 0.9. They actually appear to work here in
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gconf/gconf.c: (gst_bin_find_unconnected_pad),
(gst_gconf_render_bin_from_description),
(gst_gconf_get_default_video_sink):
* ext/gconf/gstgconfaudiosink.c: (gst_gconf_audio_sink_base_init),
(gst_gconf_audio_sink_class_init), (gst_gconf_audio_sink_dispose),
(cb_toggle_element), (gst_gconf_audio_sink_change_state):
* ext/gconf/gstgconfelements.h:
* ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_base_init),
(gst_gconf_video_sink_class_init), (gst_gconf_video_sink_dispose),
(cb_toggle_element), (gst_gconf_video_sink_change_state):
* gst/autodetect/gstautoaudiosink.c:
(gst_auto_audio_sink_base_init), (gst_auto_audio_sink_class_init),
(gst_auto_audio_sink_detect), (gst_auto_audio_sink_change_state):
* gst/autodetect/gstautovideosink.c:
(gst_auto_video_sink_base_init), (gst_auto_video_sink_class_init),
(gst_auto_video_sink_find_best), (gst_auto_video_sink_detect):
Port auto/gconfsinks to 0.9. They actually appear to work here in
Totem as well, making them actually useful.
2005-07-20 10:07:10 +00:00
gst/autodetect/Makefile
2005-06-30 09:04:43 +00:00
gst/avi/Makefile
2005-11-21 19:50:25 +00:00
gst/cutter/Makefile
2009-05-13 08:46:40 +00:00
gst/deinterlace/Makefile
2013-03-09 01:18:30 +00:00
gst/dtmf/Makefile
2009-05-13 20:46:44 +00:00
gst/debugutils/Makefile
2002-05-08 20:18:12 +00:00
gst/effectv/Makefile
2008-02-08 02:49:20 +00:00
gst/equalizer/Makefile
2009-05-13 08:30:35 +00:00
gst/flv/Makefile
2011-04-30 16:46:36 +00:00
gst/goom/Makefile
gst/goom2k1/Makefile
configure.ac: Check for optional dependency on zlib for id3demux
Original commit message from CVS:
* configure.ac:
Check for optional dependency on zlib for id3demux
* gst/id3demux/Makefile.am:
* gst/id3demux/gstid3demux.c: (gst_gst_id3demux_get_type),
(gst_id3demux_base_init), (gst_id3demux_class_init),
(gst_id3demux_reset), (gst_id3demux_init), (gst_id3demux_dispose),
(gst_id3demux_add_srcpad), (gst_id3demux_remove_srcpad),
(gst_id3demux_trim_buffer), (gst_id3demux_chain),
(gst_id3demux_set_property), (gst_id3demux_get_property),
(id3demux_get_upstream_size), (gst_id3demux_srcpad_event),
(gst_id3demux_read_id3v1), (gst_id3demux_read_id3v2),
(gst_id3demux_sink_activate), (gst_id3demux_src_activate_pull),
(gst_id3demux_src_checkgetrange), (gst_id3demux_read_range),
(gst_id3demux_src_getrange), (gst_id3demux_change_state),
(gst_id3demux_pad_query), (gst_id3demux_get_query_types),
(simple_find_peek), (simple_find_suggest),
(gst_id3demux_do_typefind), (gst_id3demux_send_tag_event),
(plugin_init):
* gst/id3demux/gstid3demux.h:
* gst/id3demux/id3tags.c: (read_synch_uint),
(id3demux_read_id3v1_tag), (id3demux_read_id3v2_tag),
(id3demux_id3v2_frame_hdr_size), (convert_fid_to_v240),
(id3demux_id3v2_frames_to_tag_list):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2.4.0-frames.txt:
* gst/id3demux/id3v2.4.0-structure.txt:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (parse_split_strings):
All new LGPL id3 demuxer. Can use zlib for compressed frames,
otherwise it discards them. Works on my test files.
* gst/wavparse/gstwavparse.c: (gst_wavparse_loop):
Don't send EOS to a non-existing srcpad
The debug category can be static
2005-12-18 15:14:44 +00:00
gst/id3demux/Makefile
Add icydemux, and tests.
Original commit message from CVS:
* configure.ac:
* gst/icydemux/Makefile.am:
* gst/icydemux/gsticydemux.c: (gst_icydemux_get_type),
(gst_icydemux_base_init), (gst_icydemux_class_init),
(gst_icydemux_reset), (gst_icydemux_init),
(gst_icydemux_sink_setcaps), (gst_icydemux_dispose),
(gst_icydemux_add_srcpad), (gst_icydemux_remove_srcpad),
(unicodify), (gst_icydemux_unicodify),
(gst_icydemux_parse_and_send_tags),
(gst_icydemux_typefind_or_forward), (gst_icydemux_add_meta),
(gst_icydemux_chain), (gst_icydemux_change_state),
(gst_icydemux_send_tag_event), (plugin_init):
* gst/icydemux/gsticydemux.h:
* tests/check/Makefile.am:
* tests/check/elements/icydemux.c: (typefind_succeed),
(plugin_init), (icydemux_found_pad), (create_icydemux),
(cleanup_icydemux), (push_data), (GST_START_TEST),
(icydemux_suite), (main):
Add icydemux, and tests.
2006-04-21 09:27:11 +00:00
gst/icydemux/Makefile
2010-05-11 13:23:47 +00:00
gst/imagefreeze/Makefile
2008-07-19 01:01:13 +00:00
gst/interleave/Makefile
2011-04-30 16:46:36 +00:00
gst/isomp4/Makefile
2005-05-06 11:12:18 +00:00
gst/law/Makefile
2005-07-04 14:02:46 +00:00
gst/level/Makefile
2005-10-14 12:43:30 +00:00
gst/matroska/Makefile
Port monoscope visualisation to 0.10.
Original commit message from CVS:
* configure.ac:
* gst/monoscope/Makefile.am:
* gst/monoscope/gstmonoscope.c: (gst_monoscope_base_init),
(gst_monoscope_class_init), (gst_monoscope_init),
(gst_monoscope_finalize), (gst_monoscope_reset),
(gst_monoscope_sink_setcaps), (gst_monoscope_src_setcaps),
(gst_monoscope_src_negotiate), (get_buffer), (gst_monoscope_chain),
(gst_monoscope_sink_event), (gst_monoscope_src_event),
(gst_monoscope_change_state), (plugin_init):
* gst/monoscope/gstmonoscope.h:
Port monoscope visualisation to 0.10.
2006-07-03 20:35:45 +00:00
gst/monoscope/Makefile
2008-02-08 04:25:32 +00:00
gst/multifile/Makefile
Ported multipart mux/demux to 0.9.
Original commit message from CVS:
2005-11-30 Julien MOUTTE <julien@moutte.net>
* configure.ac:
* PORTED_O9:
* gst/multipart/Makefile.am:
* gst/multipart/multipartdemux.c:
(gst_multipart_demux_base_init),
(gst_multipart_demux_class_init), (gst_multipart_demux_init),
(gst_multipart_find_pad_by_mime), (gst_multipart_demux_chain),
(gst_multipart_demux_change_state),
(gst_multipart_demux_plugin_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init),
(gst_multipart_mux_init), (gst_multipart_mux_finalize),
(gst_multipart_mux_sinkconnect),
(gst_multipart_mux_request_new_pad),
(gst_multipart_mux_handle_src_event),
(gst_multipart_mux_queue_pads), (gst_multipart_mux_collected),
(gst_multipart_mux_change_state): Ported multipart mux/demux to
0.9.
2005-11-30 10:18:42 +00:00
gst/multipart/Makefile
2008-07-19 01:01:13 +00:00
gst/replaygain/Makefile
2005-05-12 20:05:18 +00:00
gst/rtp/Makefile
2009-08-11 01:31:44 +00:00
gst/rtpmanager/Makefile
2005-05-12 20:05:18 +00:00
gst/rtsp/Makefile
2010-02-12 10:18:26 +00:00
gst/shapewipe/Makefile
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
gst/smpte/Makefile
2008-02-08 03:28:57 +00:00
gst/spectrum/Makefile
2005-05-12 20:05:18 +00:00
gst/udp/Makefile
2005-07-05 10:11:24 +00:00
gst/videobox/Makefile
2007-06-12 20:15:29 +00:00
gst/videocrop/Makefile
2005-05-06 11:25:56 +00:00
gst/videofilter/Makefile
configure.ac: Adding videomixer.
Original commit message from CVS:
2005-10-17 Julien MOUTTE <julien@moutte.net>
* configure.ac: Adding videomixer.
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init),
(user_read_data), (gst_pngdec_chain): More debugging.
* gst/alpha/Makefile.am: Adding alphacolor
* gst/alpha/gstalphacolor.c: (gst_alpha_color_base_init),
(gst_alpha_color_class_init), (gst_alpha_color_init),
(gst_alpha_color_transform_caps), (gst_alpha_color_set_caps),
(transform_rgb), (transform_bgr),
(gst_alpha_color_transform_ip),
(plugin_init): Ported to 0.9 using in place base tranform.
* gst/videomixer/Makefile.am:
* gst/videomixer/videomixer.c: (gst_videomixer_pad_get_type),
(gst_videomixer_pad_class_init),
(gst_videomixer_pad_sink_setcaps),
(gst_videomixer_pad_link), (gst_videomixer_pad_unlink),
(gst_videomixer_pad_init), (gst_videomixer_class_init),
(gst_videomixer_init), (gst_videomixer_getcaps),
(gst_videomixer_request_new_pad), (gst_videomixer_fill_queues),
(gst_videomixer_blend_buffers), (gst_videomixer_update_queues),
(gst_videomixer_collected), (gst_videomixer_change_state):
Ported
to 0.9 using collectpads.
2005-10-17 08:46:30 +00:00
gst/videomixer/Makefile
2005-08-30 12:59:30 +00:00
gst/wavenc/Makefile
2005-07-20 11:26:05 +00:00
gst/wavparse/Makefile
2005-10-16 21:19:44 +00:00
gst/flx/Makefile
2009-05-15 23:00:07 +00:00
gst/y4m/Makefile
2005-05-06 11:04:30 +00:00
ext/Makefile
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm sure someone will fix it.
Original commit message from CVS:
* configure.ac:
* ext/aalib/Makefile.am:
* ext/aalib/gstaasink.c: (gst_aasink_get_type),
(gst_aasink_class_init), (gst_aasink_fixate), (gst_aasink_setcaps),
(gst_aasink_init), (gst_aasink_get_times), (gst_aasink_render),
(gst_aasink_set_property), (gst_aasink_get_property),
(gst_aasink_open), (gst_aasink_close), (gst_aasink_change_state):
* ext/aalib/gstaasink.h:
* gst/smpte/Makefile.am:
* gst/smpte/gstsmpte.c: (gst_smpte_setcaps), (gst_smpte_init),
(gst_smpte_collected):
* gst/smpte/gstsmpte.h:
Ported 2 more plugins. usgly hack in the Makefile.am though, I'm
sure someone will fix it.
2005-05-06 19:55:22 +00:00
ext/aalib/Makefile
2005-10-12 03:07:26 +00:00
ext/cairo/Makefile
Ported DVdec to 0.9.
Original commit message from CVS:
* configure.ac:
* ext/dv/Makefile.am:
* ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init),
(gst_dvdec_get_src_query_types), (gst_dvdec_src_query),
(gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event),
(gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps),
(gst_dvdec_decode_audio), (gst_dvdec_decode_video),
(gst_dvdec_decode_frame), (gst_dvdec_chain),
(gst_dvdec_change_state), (gst_dvdec_set_property),
(gst_dvdec_get_property), (plugin_init):
* ext/dv/gstdvdec.h:
* ext/esd/esdsink.c: (gst_esdsink_class_init):
Ported DVdec to 0.9.
Parent of esdsink is GstAudioSink.
2005-07-07 17:03:47 +00:00
ext/dv/Makefile
Port flacdec (seeking is still slow'ish).
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/flac/Makefile.am:
* ext/flac/gstflac.c: (plugin_init):
* ext/flac/gstflacdec.c: (flacdec_get_type), (gst_flacdec_init),
(gst_flacdec_update_metadata), (gst_flacdec_seek),
(gst_flacdec_tell), (gst_flacdec_length), (gst_flacdec_read),
(gst_flacdec_write), (gst_flacdec_loop),
(gst_flacdec_get_src_query_types), (gst_flacdec_src_query),
(gst_flacdec_src_event), (gst_flacdec_sink_activate),
(gst_flacdec_sink_activate_pull), (gst_flacdec_change_state):
* ext/flac/gstflacdec.h:
Port flacdec (seeking is still slow'ish).
2005-08-22 11:20:18 +00:00
ext/flac/Makefile
2006-02-24 19:51:29 +00:00
ext/gdk_pixbuf/Makefile
2018-02-10 13:20:43 +00:00
ext/gtk/Makefile
2011-01-02 15:25:41 +00:00
ext/jack/Makefile
ext/jpeg/Makefile
2017-08-26 08:03:08 +00:00
ext/lame/Makefile
2005-05-08 12:22:04 +00:00
ext/libcaca/Makefile
2005-08-02 11:42:33 +00:00
ext/libpng/Makefile
2017-08-20 12:56:19 +00:00
ext/mpg123/Makefile
Add pulseaudio GStreamer element from gst-pulse. Development will continue here instead of pulseaudio SVN. Fixes bug ...
Original commit message from CVS:
* configure.ac:
* ext/pulse/Makefile.am:
* ext/pulse/plugin.c: (plugin_init):
* ext/pulse/pulsemixer.c: (gst_pulsemixer_interface_supported),
(gst_pulsemixer_implements_interface_init),
(gst_pulsemixer_init_interfaces), (gst_pulsemixer_base_init),
(gst_pulsemixer_class_init), (gst_pulsemixer_init),
(gst_pulsemixer_finalize), (gst_pulsemixer_set_property),
(gst_pulsemixer_get_property), (gst_pulsemixer_change_state):
* ext/pulse/pulsemixer.h:
* ext/pulse/pulsemixerctrl.c:
(gst_pulsemixer_ctrl_context_state_cb),
(gst_pulsemixer_ctrl_sink_info_cb),
(gst_pulsemixer_ctrl_source_info_cb),
(gst_pulsemixer_ctrl_subscribe_cb),
(gst_pulsemixer_ctrl_success_cb), (gst_pulsemixer_ctrl_open),
(gst_pulsemixer_ctrl_close), (gst_pulsemixer_ctrl_new),
(gst_pulsemixer_ctrl_free), (gst_pulsemixer_ctrl_list_tracks),
(gst_pulsemixer_ctrl_timeout_event), (restart_time_event),
(gst_pulsemixer_ctrl_set_volume), (gst_pulsemixer_ctrl_get_volume),
(gst_pulsemixer_ctrl_set_record), (gst_pulsemixer_ctrl_set_mute):
* ext/pulse/pulsemixerctrl.h:
* ext/pulse/pulsemixertrack.c: (gst_pulsemixer_track_class_init),
(gst_pulsemixer_track_init), (gst_pulsemixer_track_new):
* ext/pulse/pulsemixertrack.h:
* ext/pulse/pulseprobe.c: (gst_pulseprobe_context_state_cb),
(gst_pulseprobe_sink_info_cb), (gst_pulseprobe_source_info_cb),
(gst_pulseprobe_invalidate), (gst_pulseprobe_open),
(gst_pulseprobe_enumerate), (gst_pulseprobe_close),
(gst_pulseprobe_new), (gst_pulseprobe_free),
(gst_pulseprobe_get_properties), (gst_pulseprobe_needs_probe),
(gst_pulseprobe_probe_property), (gst_pulseprobe_get_values),
(gst_pulseprobe_set_server):
* ext/pulse/pulseprobe.h:
* ext/pulse/pulsesink.c: (gst_pulsesink_base_init),
(gst_pulsesink_class_init), (gst_pulsesink_init),
(gst_pulsesink_destroy_stream), (gst_pulsesink_destroy_context),
(gst_pulsesink_finalize), (gst_pulsesink_dispose),
(gst_pulsesink_set_property), (gst_pulsesink_get_property),
(gst_pulsesink_context_state_cb), (gst_pulsesink_stream_state_cb),
(gst_pulsesink_stream_request_cb),
(gst_pulsesink_stream_latency_update_cb), (gst_pulsesink_open),
(gst_pulsesink_close), (gst_pulsesink_prepare),
(gst_pulsesink_unprepare), (gst_pulsesink_write),
(gst_pulsesink_delay), (gst_pulsesink_success_cb),
(gst_pulsesink_reset), (gst_pulsesink_change_title),
(gst_pulsesink_event), (gst_pulsesink_get_type):
* ext/pulse/pulsesink.h:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_interface_supported),
(gst_pulsesrc_implements_interface_init),
(gst_pulsesrc_init_interfaces), (gst_pulsesrc_base_init),
(gst_pulsesrc_class_init), (gst_pulsesrc_init),
(gst_pulsesrc_destroy_stream), (gst_pulsesrc_destroy_context),
(gst_pulsesrc_finalize), (gst_pulsesrc_dispose),
(gst_pulsesrc_set_property), (gst_pulsesrc_get_property),
(gst_pulsesrc_context_state_cb), (gst_pulsesrc_stream_state_cb),
(gst_pulsesrc_stream_request_cb), (gst_pulsesrc_open),
(gst_pulsesrc_close), (gst_pulsesrc_prepare),
(gst_pulsesrc_unprepare), (gst_pulsesrc_read),
(gst_pulsesrc_delay), (gst_pulsesrc_change_state),
(gst_pulsesrc_get_type):
* ext/pulse/pulsesrc.h:
* ext/pulse/pulseutil.c: (gst_pulse_fill_sample_spec),
(gst_pulse_client_name), (gst_pulse_gst_to_channel_map):
* ext/pulse/pulseutil.h:
Add pulseaudio GStreamer element from gst-pulse. Development will
continue here instead of pulseaudio SVN. Fixes bug #400679.
Only changes over gst-pulse SVN are added copyright to the top of
files and coding style changes.
2008-06-10 06:45:33 +00:00
ext/pulse/Makefile
2018-02-12 18:34:16 +00:00
ext/qt/Makefile
2005-07-07 08:34:11 +00:00
ext/raw1394/Makefile
2005-05-09 20:09:44 +00:00
ext/shout2/Makefile
2008-04-12 23:30:54 +00:00
ext/soup/Makefile
2005-08-23 15:14:01 +00:00
ext/speex/Makefile
2006-05-01 11:46:33 +00:00
ext/taglib/Makefile
2017-08-26 08:41:13 +00:00
ext/twolame/Makefile
2012-09-16 13:43:39 +00:00
ext/vpx/Makefile
2007-06-08 20:19:55 +00:00
ext/wavpack/Makefile
2005-08-30 17:32:12 +00:00
sys/Makefile
2007-06-08 17:37:02 +00:00
sys/directsound/Makefile
2005-08-30 17:32:12 +00:00
sys/oss/Makefile
2010-05-11 15:08:21 +00:00
sys/oss4/Makefile
Activate osxaudio in gst-plugins-good with proper build setup.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxaudio/gstosxaudio.c:
* sys/osxaudio/gstosxaudiosink.c:
(gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init),
(gst_osx_audio_sink_getcaps),
(gst_osx_audio_sink_create_ringbuffer), (plugin_init):
* sys/osxaudio/gstosxaudiosrc.c:
(gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init),
(gst_osx_audio_src_create_ringbuffer):
* sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type),
(gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init),
(gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start),
(gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop):
* sys/osxaudio/gstosxringbuffer.h:
Activate osxaudio in gst-plugins-good with proper build setup.
Add inlined documentation.
Fix debug statements
Fix ringbuffer when pausing.
Fixes #323471
2007-03-15 11:39:53 +00:00
sys/osxaudio/Makefile
2007-06-12 20:15:29 +00:00
sys/osxvideo/Makefile
2006-10-03 18:15:58 +00:00
sys/v4l2/Makefile
2007-06-14 12:14:24 +00:00
sys/waveform/Makefile
2006-04-28 18:57:09 +00:00
sys/ximage/Makefile
2005-07-10 12:52:20 +00:00
po/Makefile.in
2005-11-30 18:48:56 +00:00
tests/Makefile
2005-11-30 18:24:08 +00:00
tests/check/Makefile
2005-12-30 15:28:44 +00:00
tests/examples/Makefile
Add audioiirfilter and audiofirfilter elements which allow generic IIR/FIR filters to be implemented by providing the...
Original commit message from CVS:
* configure.ac:
* gst/audiofx/Makefile.am:
* gst/audiofx/audiofirfilter.c: (gst_audio_fir_filter_base_init),
(gst_audio_fir_filter_class_init),
(gst_audio_fir_filter_update_kernel), (gst_audio_fir_filter_init),
(gst_audio_fir_filter_setup), (gst_audio_fir_filter_finalize),
(gst_audio_fir_filter_set_property),
(gst_audio_fir_filter_get_property):
* gst/audiofx/audiofirfilter.h:
* gst/audiofx/audiofx.c: (plugin_init):
* gst/audiofx/audioiirfilter.c: (gst_audio_iir_filter_base_init),
(gst_audio_iir_filter_class_init),
(gst_audio_iir_filter_update_coefficients),
(gst_audio_iir_filter_init), (gst_audio_iir_filter_setup),
(gst_audio_iir_filter_finalize),
(gst_audio_iir_filter_set_property),
(gst_audio_iir_filter_get_property):
* gst/audiofx/audioiirfilter.h:
Add audioiirfilter and audiofirfilter elements which allow
generic IIR/FIR filters to be implemented by providing the
filter coefficients. Fixes bug #567577.
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/gst-plugins-good-plugins.args:
* docs/plugins/gst-plugins-good-plugins.hierarchy:
* docs/plugins/gst-plugins-good-plugins.signals:
* docs/plugins/inspect/plugin-alaw.xml:
* docs/plugins/inspect/plugin-audiofx.xml:
* docs/plugins/inspect/plugin-avi.xml:
* docs/plugins/inspect/plugin-flac.xml:
* docs/plugins/inspect/plugin-mulaw.xml:
* docs/plugins/inspect/plugin-video4linux2.xml:
* docs/plugins/inspect/plugin-wavparse.xml:
Add documentation for the audioiirfilter and audiofirfilter
elements.
* tests/check/Makefile.am:
* tests/check/elements/audiofirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audiofirfilter_suite):
* tests/check/elements/audioiirfilter.c: (on_message),
(on_rate_changed), (on_handoff), (GST_START_TEST),
(audioiirfilter_suite):
* tests/examples/Makefile.am:
* tests/examples/audiofx/Makefile.am:
* tests/examples/audiofx/firfilter-example.c: (on_message),
(on_rate_changed), (main):
* tests/examples/audiofx/iirfilter-example.c: (on_message),
(on_rate_changed), (main):
Add unit tests and example applications for the two filter
elements.
2009-01-13 19:23:57 +00:00
tests/examples/audiofx/Makefile
2011-01-28 00:14:04 +00:00
tests/examples/cairo/Makefile
2008-02-08 02:49:20 +00:00
tests/examples/equalizer/Makefile
2018-02-10 13:20:43 +00:00
tests/examples/gtk/Makefile
2011-01-02 15:25:41 +00:00
tests/examples/jack/Makefile
2005-12-30 15:28:44 +00:00
tests/examples/level/Makefile
2007-09-05 09:25:23 +00:00
tests/examples/rtp/Makefile
2017-10-13 15:05:54 +00:00
tests/examples/rtsp/Makefile
2010-02-12 10:18:26 +00:00
tests/examples/shapewipe/Makefile
2008-02-08 03:28:57 +00:00
tests/examples/spectrum/Makefile
2009-07-03 06:47:12 +00:00
tests/examples/v4l2/Makefile
2007-03-06 23:19:30 +00:00
tests/files/Makefile
tests/icles/Makefile
add docs to build
Original commit message from CVS:
* Makefile.am:
* configure.ac:
add docs to build
* common/plugins.xsl:
wrap Description into a refsect2
* docs/Makefile.am:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* gst/goom/Makefile.am:
* gst/goom/gstgoom.c: (gst_goom_get_type), (gst_goom_base_init),
(gst_goom_class_init), (gst_goom_init), (gst_goom_dispose),
(gst_goom_sink_setcaps), (gst_goom_src_setcaps),
(gst_goom_src_negotiate), (gst_goom_event), (gst_goom_chain),
(gst_goom_change_state):
* gst/goom/gstgoom.h:
GstGOOM -> GstGoom
add an example launch line
* gst/level/gstlevel.h:
* gst/monoscope/gstmonoscope.c:
cleanups
2005-09-01 17:55:14 +00:00
common/Makefile
common/m4/Makefile
2004-03-18 12:38:53 +00:00
m4/Makefile
2006-05-03 14:28:57 +00:00
docs/Makefile
docs/plugins/Makefile
docs/version.entities
2006-04-03 09:02:29 +00:00
pkgconfig/Makefile
pkgconfig/gstreamer-plugins-good-uninstalled.pc
2001-12-17 18:37:01 +00:00
)
2002-02-08 20:12:28 +00:00
AC_OUTPUT
2007-02-28 19:29:25 +00:00
AG_GST_OUTPUT_PLUGINS
2010-06-10 01:37:29 +00:00
ORC_OUTPUT