From bb14800ba691f4bd2fa0982aa6f7db9da12b6fa3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 14 Nov 2016 21:28:22 +0000 Subject: [PATCH] win32: remove copies of generated headers --- Makefile.am | 11 +- configure.ac | 40 - win32/MANIFEST | 5 - win32/README.txt | 38 +- win32/common/config.h | 566 ---------- win32/common/gstconfig.h | 145 --- win32/common/gstenumtypes.c | 2050 ----------------------------------- win32/common/gstenumtypes.h | 247 ----- win32/common/gstversion.h | 91 -- 9 files changed, 21 insertions(+), 3172 deletions(-) delete mode 100644 win32/common/config.h delete mode 100644 win32/common/gstconfig.h delete mode 100644 win32/common/gstenumtypes.c delete mode 100644 win32/common/gstenumtypes.h delete mode 100644 win32/common/gstversion.h diff --git a/Makefile.am b/Makefile.am index e68255c8e1..ca8bfe631e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -105,16 +105,6 @@ build-checks: echo "'check' library not installed, skipping" endif -# FIXME: this target should be run every time we do "make release" -# find a way of automating that -win32-update: - for f in gstversion.h gstenumtypes.c gstenumtypes.h; do \ - cp $(top_builddir)/gst/$$f win32/common; done - $(top_srcdir)/tools/gst-indent win32/common/gstenumtypes.c - $(top_srcdir)/tools/gst-indent win32/common/gstenumtypes.c - cp $(top_builddir)/win32/common/config.h-new \ - $(top_srcdir)/win32/common/config.h - check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h @echo 'Checking if all enum and flag _get_type() funcs are inited in gst_init()'; \ FUNCS=`grep '_get_type (' gst/gstenumtypes.h | sed -e 's/^.*gst_/gst_/' -e 's/_get_type.*$$/_get_type/'`;\ @@ -164,6 +154,7 @@ gst-element-check-@GST_API_VERSION@.m4: gst-element-check.m4 # cruft: plugins that have been merged or moved or renamed CRUFT_FILES = \ + $(top_builddir)/win32/common/config.h-new \ $(top_builddir)/common/shave \ $(top_builddir)/common/shave-libtool \ $(top_builddir)/common/m4/codeset.m4 \ diff --git a/configure.ac b/configure.ac index 0bc7d938c9..e34ac3cf59 100644 --- a/configure.ac +++ b/configure.ac @@ -412,9 +412,6 @@ dnl * hardware/architecture * dnl common/m4/gst-arch.m4 dnl check CPU type AG_GST_ARCH -dnl substitution for win32/common/config.h -HOST_CPU=$host_cpu -AC_SUBST(HOST_CPU) dnl check for platform specific settings AG_GST_PLATFORM @@ -1092,43 +1089,6 @@ pkgconfig/gstreamer-net-uninstalled.pc gstreamer.spec ) -dnl Create the config.h file for Visual Studio builds -dnl Beware of spaces and /'s in some of the shell variable contents. -sed \ - -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \ - -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \ - -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \ - -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \ - -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \ - -e 's/.* GST_API_VERSION$/#define GST_API_VERSION "'$GST_API_VERSION'"/' \ - -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \ - -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \ - -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \ - -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \ - -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \ - -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \ - -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \ - -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \ - -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \ - -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \ - -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \ - -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \ - -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \ - -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \ - -e 's/.* MEMORY_ALIGNMENT_MALLOC/#define MEMORY_ALIGNMENT_MALLOC 1/' \ - -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \ - -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \ - -e 's/.* PACKAGE$/#define PACKAGE "gstreamer"/' \ - -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \ - -e 's/.* PACKAGE_NAME$/#define PACKAGE_NAME "'$PACKAGE_NAME'"/' \ - -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \ - -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \ - -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \ - -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-1.0"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-1.0"\n#endif/' \ - -e 's/.* GST_PLUGIN_SCANNER_INSTALLED$/#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\\\gst-plugin-scanner"/' \ - -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \ - config.h.in >win32/common/config.h-new - AC_OUTPUT dnl negate for output diff --git a/win32/MANIFEST b/win32/MANIFEST index dd02466827..dda1ec7290 100644 --- a/win32/MANIFEST +++ b/win32/MANIFEST @@ -1,10 +1,5 @@ win32/MANIFEST win32/README.txt -win32/common/config.h -win32/common/gstconfig.h -win32/common/gstenumtypes.c -win32/common/gstenumtypes.h -win32/common/gstversion.h win32/common/libgstbase.def win32/common/libgstcontroller.def win32/common/libgstnet.def diff --git a/win32/README.txt b/win32/README.txt index 809233fa90..892b1f10c7 100644 --- a/win32/README.txt +++ b/win32/README.txt @@ -1,30 +1,32 @@ Building GStreamer on Windows ----------------------------- -Running GStreamer on Windows is supported. - -Official Windows binaries for each release can be found at: - - https://gstreamer.freedesktop.org/data/pkg/windows/ - - -Building with MinGW/MSys ------------------------- +Running GStreamer on Windows is supported. + +Official Windows binaries for each release can be found at: + + https://gstreamer.freedesktop.org/data/pkg/windows/ + + +Building with MinGW/MSys +------------------------ Should work out of the box from the toplevel directory using the standard Unix build system provided. -This build type is officially supported. +This build type is officially supported. + +You can build Windows binaries including all required dependencies +using the 'cerbero' build tool: -You can build Windows binaries including all required dependencies -using the 'cerbero' build tool: + http://cgit.freedesktop.org/gstreamer/cerbero/ - http://cgit.freedesktop.org/gstreamer/cerbero/ - -This works both natively on Windows or as cross-compile from Linux. +This works both natively on Windows or as cross-compile from Linux. -Building with Visual Studio ---------------------------- +Building with Visual Studio +--------------------------- -Building with Visual Studio is currently not supported. +Building with Visual Studio is possible using the Meson-based build +definitions, but there is currently no support for this in cerbero yet, +so it's not for the faint-hearted. diff --git a/win32/common/config.h b/win32/common/config.h deleted file mode 100644 index f4b41baf34..0000000000 --- a/win32/common/config.h +++ /dev/null @@ -1,566 +0,0 @@ -/* Autogenerated config.h created for win32 Visual Studio builds */ - -/* PREFIX -- specifically added for Windows for easier moving */ -#define PREFIX "C:\\gstreamer" - -/* Define if building universal (internal helper macro) */ -#undef AC_APPLE_UNIVERSAL_BUILD - -/* poll doesn't work on devices */ -#undef BROKEN_POLL - -/* Define to 1 if translation of program messages to the user's native - language is requested. */ -#undef ENABLE_NLS - -/* Subunit protocol result output */ -#undef ENABLE_SUBUNIT - -/* gettext package name */ -#define GETTEXT_PACKAGE "gstreamer-1.0" - -/* The GIO library directory. */ -#undef GIO_LIBDIR - -/* The GIO modules directory. */ -#undef GIO_MODULE_DIR - -/* The GIO install prefix. */ -#undef GIO_PREFIX - -/* GStreamer API Version */ -#define GST_API_VERSION "1.0" - -/* data dir */ -#define GST_DATADIR PREFIX "\\share" - -/* Define if option parsing is disabled */ -#undef GST_DISABLE_OPTION_PARSING - -/* Define if pipeline parsing code is disabled */ -#undef GST_DISABLE_PARSE - -/* Define if extra runtime checks should be enabled */ -#undef GST_ENABLE_EXTRA_CHECKS - -/* Extra platform specific plugin suffix */ -#undef GST_EXTRA_MODULE_SUFFIX - -/* macro to use to show function name */ -#undef GST_FUNCTION - -/* Defined if gcov is enabled to force a rebuild due to config.h changing */ -#undef GST_GCOV_ENABLED - -/* Defined when registry scanning through fork is unsafe */ -#undef GST_HAVE_UNSAFE_FORK - -/* Default errorlevel to use */ -#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR - -/* GStreamer license */ -#define GST_LICENSE "LGPL" - -/* package name in plugins */ -#define GST_PACKAGE_NAME "GStreamer source release" - -/* package origin */ -#define GST_PACKAGE_ORIGIN "Unknown package origin" - -/* GStreamer package release date/time for plugins as YYYY-MM-DD */ -#define GST_PACKAGE_RELEASE_DATETIME "2016-11-01" - -/* Define if static plugins should be built */ -#undef GST_PLUGIN_BUILD_STATIC - -/* location of the installed gst-plugin-scanner */ -#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\gst-plugin-scanner" - -/* location of the installed gst-ptp-helper */ -#undef GST_PTP_HELPER_INSTALLED - -/* Define to 1 if you have the `alarm' function. */ -#undef HAVE_ALARM - -/* Have backtrace */ -#undef HAVE_BACKTRACE - -/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the - CoreFoundation framework. */ -#undef HAVE_CFLOCALECOPYCURRENT - -/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in - the CoreFoundation framework. */ -#undef HAVE_CFPREFERENCESCOPYAPPVALUE - -/* Have clock_gettime */ -#undef HAVE_CLOCK_GETTIME - -/* Define if the target CPU is AARCH64 */ -#undef HAVE_CPU_AARCH64 - -/* Define if the target CPU is an Alpha */ -#undef HAVE_CPU_ALPHA - -/* Define if the target CPU is an ARC */ -#undef HAVE_CPU_ARC - -/* Define if the target CPU is an ARM */ -#undef HAVE_CPU_ARM - -/* Define if the target CPU is a CRIS */ -#undef HAVE_CPU_CRIS - -/* Define if the target CPU is a CRISv32 */ -#undef HAVE_CPU_CRISV32 - -/* Define if the target CPU is a HPPA */ -#undef HAVE_CPU_HPPA - -/* Define if the target CPU is an x86 */ -#define HAVE_CPU_I386 1 - -/* Define if the target CPU is a IA64 */ -#undef HAVE_CPU_IA64 - -/* Define if the target CPU is a M68K */ -#undef HAVE_CPU_M68K - -/* Define if the target CPU is a MIPS */ -#undef HAVE_CPU_MIPS - -/* Define if the target CPU is a PowerPC */ -#undef HAVE_CPU_PPC - -/* Define if the target CPU is a 64 bit PowerPC */ -#undef HAVE_CPU_PPC64 - -/* Define if the target CPU is a S390 */ -#undef HAVE_CPU_S390 - -/* Define if the target CPU is a SPARC */ -#undef HAVE_CPU_SPARC - -/* Define if the target CPU is a x86_64 */ -#undef HAVE_CPU_X86_64 - -/* Define if the GNU dcgettext() function is already present or preinstalled. - */ -#undef HAVE_DCGETTEXT - -/* Define to 1 if you have the declaration of `alarm', and to 0 if you don't. - */ -#undef HAVE_DECL_ALARM - -/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you - don't. */ -#undef HAVE_DECL_LOCALTIME_R - -/* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. - */ -#undef HAVE_DECL_STRDUP - -/* Define to 1 if you have the declaration of `strsignal', and to 0 if you - don't. */ -#undef HAVE_DECL_STRSIGNAL - -/* Defined if we have dladdr () */ -#undef HAVE_DLADDR - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_EXECINFO_H - -/* Define to 1 if you have the `fgetpos' function. */ -#define HAVE_FGETPOS 1 - -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - -/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ -#undef HAVE_FSEEKO - -/* Define to 1 if you have the `fsetpos' function. */ -#define HAVE_FSETPOS 1 - -/* Define to 1 if you have the `ftello' function. */ -#undef HAVE_FTELLO - -/* defined if the compiler implements __func__ */ -#undef HAVE_FUNC - -/* defined if the compiler implements __FUNCTION__ */ -#undef HAVE_FUNCTION - -/* getifaddrs() and AF_LINK is available */ -#undef HAVE_GETIFADDRS_AF_LINK - -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - -/* Define to 1 if you have the `getpid' function. */ -#undef HAVE_GETPID - -/* Define to 1 if you have the `getrusage' function. */ -#undef HAVE_GETRUSAGE - -/* Define if the GNU gettext() function is already present or preinstalled. */ -#undef HAVE_GETTEXT - -/* Have GMP library */ -#undef HAVE_GMP - -/* Define to 1 if you have the `gmtime_r' function. */ -#undef HAVE_GMTIME_R - -/* Have GSL library */ -#undef HAVE_GSL - -/* Define if you have the iconv() function and it works. */ -#undef HAVE_ICONV - -/* Define to 1 if the system has the type `intmax_t'. */ -#undef HAVE_INTMAX_T - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define if exists, doesn't clash with , and - declares uintmax_t. */ -#undef HAVE_INTTYPES_H_WITH_UINTMAX - -/* Define to 1 if you have the `rt' library (-lrt). */ -#undef HAVE_LIBRT - -/* Define to 1 if you have the `localtime_r' function. */ -#undef HAVE_LOCALTIME_R - -/* Define to 1 if the system has the type long long */ -#undef HAVE_LONG_LONG - -/* Define to 1 if the system has the type `long long int'. */ -#undef HAVE_LONG_LONG_INT - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mkstemp' function. */ -#undef HAVE_MKSTEMP - -/* Define to 1 if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Have a monotonic clock */ -#undef HAVE_MONOTONIC_CLOCK - -/* Defined if compiling for OSX */ -#undef HAVE_OSX - -/* Define to 1 if you have the `poll' function. */ -#undef HAVE_POLL - -/* Define to 1 if you have the header file. */ -#undef HAVE_POLL_H - -/* Define to 1 if you have the `posix_memalign' function. */ -#undef HAVE_POSIX_MEMALIGN - -/* Have posix timers */ -#undef HAVE_POSIX_TIMERS - -/* Define to 1 if you have the `ppoll' function. */ -#undef HAVE_PPOLL - -/* defined if the compiler implements __PRETTY_FUNCTION__ */ -#undef HAVE_PRETTY_FUNCTION - -/* Define to 1 if you have the header file. */ -#define HAVE_PROCESS_H 1 - -/* Define to 1 if you have the `pselect' function. */ -#undef HAVE_PSELECT - -/* Define if you have POSIX threads libraries and header files. */ -#undef HAVE_PTHREAD - -/* Have PTHREAD_PRIO_INHERIT. */ -#undef HAVE_PTHREAD_PRIO_INHERIT - -/* Have function pthread_setname_np(const char*) */ -#undef HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID - -/* PTP support available */ -#undef HAVE_PTP - -/* Use capabilities for permissions in PTP helper */ -#undef HAVE_PTP_HELPER_CAPABILITIES - -/* Use setuid-root for permissions in PTP helper */ -#undef HAVE_PTP_HELPER_SETUID - -/* PTP helper setuid group */ -#undef HAVE_PTP_HELPER_SETUID_GROUP - -/* PTP helper setuid user */ -#undef HAVE_PTP_HELPER_SETUID_USER - -/* Define to 1 if the system has the type `ptrdiff_t'. */ -#undef HAVE_PTRDIFF_T - -/* Define if RDTSC is available */ -#undef HAVE_RDTSC - -/* Define to 1 if you have the `setitimer' function. */ -#undef HAVE_SETITIMER - -/* Define to 1 if you have the `sigaction' function. */ -#undef HAVE_SIGACTION - -/* SIOCGIFCONF, SIOCGIFFLAGS and SIOCGIFHWADDR is available */ -#undef HAVE_SIOCGIFCONF_SIOCGIFFLAGS_SIOCGIFHWADDR - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define if exists, doesn't clash with , and declares - uintmax_t. */ -#undef HAVE_STDINT_H_WITH_UINTMAX - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDIO_EXT_H - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the `strcasestr' function. */ -#undef HAVE_STRCASESTR - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the `strsignal' function. */ -#undef HAVE_STRSIGNAL - -/* Define to 1 if `it_interval' is a member of `struct itimerspec'. */ -#undef HAVE_STRUCT_ITIMERSPEC_IT_INTERVAL - -/* Define to 1 if `it_value' is a member of `struct itimerspec'. */ -#undef HAVE_STRUCT_ITIMERSPEC_IT_VALUE - -/* Define to 1 if `tv_nsec' is a member of `struct timespec'. */ -#undef HAVE_STRUCT_TIMESPEC_TV_NSEC - -/* Define to 1 if `tv_sec' is a member of `struct timespec'. */ -#undef HAVE_STRUCT_TIMESPEC_TV_SEC - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PARAM_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_POLL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_PRCTL_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_SOCKET_H - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIMES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TIME_H - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UIO_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_UTSNAME_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_TIME_H - -/* Have tm_gmtoff field in struct tm */ -#undef HAVE_TM_GMTOFF - -/* Define to 1 if you have the header file. */ -#undef HAVE_UCONTEXT_H - -/* Have __uint128_t type */ -#undef HAVE_UINT128_T - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if the system has the type `unsigned long long int'. */ -#undef HAVE_UNSIGNED_LONG_LONG_INT - -/* libunwind available */ -#undef HAVE_UNWIND - -/* Define if valgrind should be used */ -#undef HAVE_VALGRIND - -/* Define to 1 if you have the header file. */ -#undef HAVE_VALGRIND_VALGRIND_H - -/* Defined if compiling for Windows */ -#define HAVE_WIN32 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_WINSOCK2_H 1 - -/* Define to 1 if you have the `_getpid' function. */ -#undef HAVE__GETPID - -/* Define to 1 if you have the `_strdup' function. */ -#undef HAVE__STRDUP - -/* the host CPU */ -#define HOST_CPU "i686" - -/* library dir */ -#ifdef _DEBUG -# define LIBDIR PREFIX "\\debug\\lib" -#else -# define LIBDIR PREFIX "\\lib" -#endif - -/* gettext locale dir */ -#define LOCALEDIR PREFIX "\\share\\locale" - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#undef LT_OBJDIR - -/* Memory alignment to use */ -#undef MEMORY_ALIGNMENT - -/* Memory alignment by malloc default */ -#define MEMORY_ALIGNMENT_MALLOC 1 - -/* Memory alignment by pagesize */ -#undef MEMORY_ALIGNMENT_PAGESIZE - -/* Name of package */ -#define PACKAGE "gstreamer" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "GStreamer" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GStreamer 1.10.0" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "gstreamer" - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "1.10.0" - -/* directory where plugins are located */ -#ifdef _DEBUG -# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-1.0" -#else -# define PLUGINDIR PREFIX "\\lib\\gstreamer-1.0" -#endif - -/* Define to necessary symbol if this constant uses a non-standard name on - your system. */ -#undef PTHREAD_CREATE_JOINABLE - -/* The size of `char', as computed by sizeof. */ -#undef SIZEOF_CHAR - -/* The size of `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* The size of `void*', as computed by sizeof. */ -#undef SIZEOF_VOIDP - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Need to define the itimerspec structure */ -#undef STRUCT_ITIMERSPEC_DEFINITION_MISSING - -/* Need to define the timespec structure */ -#undef STRUCT_TIMESPEC_DEFINITION_MISSING - -/* the target CPU */ -#undef TARGET_CPU - -/* Define if we should poison deallocated memory */ -#undef USE_POISONING - -/* Version number of package */ -#define VERSION "1.10.0" - -/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most - significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -# undef WORDS_BIGENDIAN -# endif -#endif - -/* Enable large inode numbers on Mac OS X 10.5. */ -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif - -/* Number of bits in a file offset, on hosts where this is settable. */ -#undef _FILE_OFFSET_BITS - -/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ -#undef _LARGEFILE_SOURCE - -/* Define for large files, on AIX-style hosts. */ -#undef _LARGE_FILES - -/* We need at least WinXP SP2 for __stat64 */ -#undef __MSVCRT_VERSION__ - -/* clockid_t */ -#undef clockid_t - -/* Define to the widest signed integer type if and do - not define. */ -#undef intmax_t - -/* Define to `unsigned int' if does not define. */ -#undef size_t - -/* timer_t */ -#undef timer_t diff --git a/win32/common/gstconfig.h b/win32/common/gstconfig.h deleted file mode 100644 index 684a2e07fc..0000000000 --- a/win32/common/gstconfig.h +++ /dev/null @@ -1,145 +0,0 @@ -/* GStreamer - * Copyright (C) 1999,2000 Erik Walthinsen - * 2004,2005 Wim Taymans - * - * gstconfig.h: GST_DISABLE_* macros for build configuration - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ -/** - * SECTION:gstconfig - * @short_description: Build configuration options - * - * This describes the configuration options for GStreamer. When building - * GStreamer there are a lot of parts (known internally as "subsystems" ) that - * can be disabled for various reasons. The most common reasons are speed and - * size, which is important because GStreamer is designed to run on embedded - * systems. - * - * If a subsystem is disabled, most of this changes are done in an API - * compatible way, so you don't need to adapt your code in most cases. It is - * never done in an ABI compatible way though. So if you want to disable a - * subsystem, you have to rebuild all programs depending on GStreamer, too. - * - * If a subsystem is disabled in GStreamer, a value is defined in - * <gst/gst.h>. You can check this if you do subsystem-specific stuff. - * - * Doing subsystem specific things - * - * &hash;ifndef GST_DISABLE_GST_DEBUG - * // do stuff specific to the debugging subsystem - * &hash;endif // GST_DISABLE_GST_DEBUG - * - * - */ - -#ifndef __GST_CONFIG_H__ -#define __GST_CONFIG_H__ - -/*** trick gtk-doc into believing these symbols are defined (yes, it's ugly) */ - -#if 0 -#define GST_DISABLE_LOADSAVE_REGISTRY 1 -#define GST_DISABLE_GST_DEBUG 1 -#define GST_DISABLE_LOADSAVE 1 -#define GST_DISABLE_PARSE 1 -#define GST_DISABLE_REGISTRY 1 -#define GST_DISABLE_PLUGIN 1 -#define GST_HAVE_GLIB_2_8 1 -#endif - -/***** default padding of structures *****/ -#define GST_PADDING 4 -#define GST_PADDING_INIT {0} - -/***** padding for very extensible base classes *****/ -#define GST_PADDING_LARGE 20 - - -/***** disabling of subsystems *****/ - -/* wether or not the debugging subsystem is enabled */ -/* #undef GST_DISABLE_GST_DEBUG */ - -/* DOES NOT WORK */ -/* #undef GST_DISABLE_PARSE */ - -/* DOES NOT WORK */ -/* #undef GST_DISABLE_REGISTRY */ - -/* DOES NOT WORK */ -/* #undef GST_DISABLE_PLUGIN */ - -/* printf extension format */ -/** - * GST_PTR_FORMAT: - * - * printf format type used to debug GStreamer types. - * This can only be used on types whose size is >= sizeof(gpointer). - */ -#define GST_PTR_FORMAT "p" - -/** - * GST_SEGMENT_FORMAT: - * - * printf format type used to debug GStreamer segments. - * This can only be used on pointers to GstSegment structures. - * - * Since: 0.10.10 - */ -#define GST_SEGMENT_FORMAT "p" - -/* whether or not GST_PTR_FORMAT or GST_SEGMENT_FORMAT are using - * the printf extension mechanism. This is for internal use in our - * header files so we know whether we can use G_GNUC_PRINTF or not */ -#undef GST_USING_PRINTF_EXTENSION - -/* whether or not the CPU supports unaligned access */ -#define GST_HAVE_UNALIGNED_ACCESS 1 - -/* whether or not we are using glib 2.8 api, e.g. atomic gobject - refcounting */ -#define GST_HAVE_GLIB_2_8 1 - -/** - * GST_EXPORT: - * - * Export the given variable from the built shared object. - * - * On Windows, this exports the variable from the DLL. - * On other platforms, this gets defined to "extern". - */ -/** - * GST_PLUGIN_EXPORT: - * - * Export the plugin's definition. - * - * On Windows, this exports the plugin definition from the DLL. - * On other platforms, this gets defined as a no-op. - */ -#if defined(WIN32) && (!defined(__MINGW32__)) -#define GST_PLUGIN_EXPORT __declspec(dllexport) extern -#ifdef GST_EXPORTS -#define GST_EXPORT __declspec(dllexport) extern -#else -#define GST_EXPORT __declspec(dllimport) extern -#endif -#else /* not WIN32 */ -#define GST_PLUGIN_EXPORT -#define GST_EXPORT extern -#endif - -#endif /* __GST_CONFIG_H__ */ diff --git a/win32/common/gstenumtypes.c b/win32/common/gstenumtypes.c deleted file mode 100644 index fa18df0a6b..0000000000 --- a/win32/common/gstenumtypes.c +++ /dev/null @@ -1,2050 +0,0 @@ - - - -#include "gst_private.h" -#include -#define C_ENUM(v) ((gint) v) -#define C_FLAGS(v) ((guint) v) - - -/* enumerations from "gstobject.h" */ -GType -gst_object_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_OBJECT_FLAG_MAY_BE_LEAKED), "GST_OBJECT_FLAG_MAY_BE_LEAKED", - "may-be-leaked"}, - {C_FLAGS (GST_OBJECT_FLAG_LAST), "GST_OBJECT_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstObjectFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstallocator.h" */ -GType -gst_allocator_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_ALLOCATOR_FLAG_CUSTOM_ALLOC), - "GST_ALLOCATOR_FLAG_CUSTOM_ALLOC", "custom-alloc"}, - {C_FLAGS (GST_ALLOCATOR_FLAG_LAST), "GST_ALLOCATOR_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstAllocatorFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstbin.h" */ -GType -gst_bin_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_BIN_FLAG_NO_RESYNC), "GST_BIN_FLAG_NO_RESYNC", "no-resync"}, - {C_FLAGS (GST_BIN_FLAG_STREAMS_AWARE), "GST_BIN_FLAG_STREAMS_AWARE", - "streams-aware"}, - {C_FLAGS (GST_BIN_FLAG_LAST), "GST_BIN_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstBinFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstbuffer.h" */ -GType -gst_buffer_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_BUFFER_FLAG_LIVE), "GST_BUFFER_FLAG_LIVE", "live"}, - {C_FLAGS (GST_BUFFER_FLAG_DECODE_ONLY), "GST_BUFFER_FLAG_DECODE_ONLY", - "decode-only"}, - {C_FLAGS (GST_BUFFER_FLAG_DISCONT), "GST_BUFFER_FLAG_DISCONT", "discont"}, - {C_FLAGS (GST_BUFFER_FLAG_RESYNC), "GST_BUFFER_FLAG_RESYNC", "resync"}, - {C_FLAGS (GST_BUFFER_FLAG_CORRUPTED), "GST_BUFFER_FLAG_CORRUPTED", - "corrupted"}, - {C_FLAGS (GST_BUFFER_FLAG_MARKER), "GST_BUFFER_FLAG_MARKER", "marker"}, - {C_FLAGS (GST_BUFFER_FLAG_HEADER), "GST_BUFFER_FLAG_HEADER", "header"}, - {C_FLAGS (GST_BUFFER_FLAG_GAP), "GST_BUFFER_FLAG_GAP", "gap"}, - {C_FLAGS (GST_BUFFER_FLAG_DROPPABLE), "GST_BUFFER_FLAG_DROPPABLE", - "droppable"}, - {C_FLAGS (GST_BUFFER_FLAG_DELTA_UNIT), "GST_BUFFER_FLAG_DELTA_UNIT", - "delta-unit"}, - {C_FLAGS (GST_BUFFER_FLAG_TAG_MEMORY), "GST_BUFFER_FLAG_TAG_MEMORY", - "tag-memory"}, - {C_FLAGS (GST_BUFFER_FLAG_SYNC_AFTER), "GST_BUFFER_FLAG_SYNC_AFTER", - "sync-after"}, - {C_FLAGS (GST_BUFFER_FLAG_LAST), "GST_BUFFER_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstBufferFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_buffer_copy_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_BUFFER_COPY_NONE), "GST_BUFFER_COPY_NONE", "none"}, - {C_FLAGS (GST_BUFFER_COPY_FLAGS), "GST_BUFFER_COPY_FLAGS", "flags"}, - {C_FLAGS (GST_BUFFER_COPY_TIMESTAMPS), "GST_BUFFER_COPY_TIMESTAMPS", - "timestamps"}, - {C_FLAGS (GST_BUFFER_COPY_META), "GST_BUFFER_COPY_META", "meta"}, - {C_FLAGS (GST_BUFFER_COPY_MEMORY), "GST_BUFFER_COPY_MEMORY", "memory"}, - {C_FLAGS (GST_BUFFER_COPY_MERGE), "GST_BUFFER_COPY_MERGE", "merge"}, - {C_FLAGS (GST_BUFFER_COPY_DEEP), "GST_BUFFER_COPY_DEEP", "deep"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstBufferCopyFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstbufferpool.h" */ -GType -gst_buffer_pool_acquire_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_NONE), - "GST_BUFFER_POOL_ACQUIRE_FLAG_NONE", "none"}, - {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT), - "GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT", "key-unit"}, - {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT), - "GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT", "dontwait"}, - {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT), - "GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT", "discont"}, - {C_FLAGS (GST_BUFFER_POOL_ACQUIRE_FLAG_LAST), - "GST_BUFFER_POOL_ACQUIRE_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstBufferPoolAcquireFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstbus.h" */ -GType -gst_bus_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_BUS_FLUSHING), "GST_BUS_FLUSHING", "flushing"}, - {C_FLAGS (GST_BUS_FLAG_LAST), "GST_BUS_FLAG_LAST", "flag-last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstBusFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_bus_sync_reply_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_BUS_DROP), "GST_BUS_DROP", "drop"}, - {C_ENUM (GST_BUS_PASS), "GST_BUS_PASS", "pass"}, - {C_ENUM (GST_BUS_ASYNC), "GST_BUS_ASYNC", "async"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstBusSyncReply", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstcaps.h" */ -GType -gst_caps_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_CAPS_FLAG_ANY), "GST_CAPS_FLAG_ANY", "any"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstCapsFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_caps_intersect_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_CAPS_INTERSECT_ZIG_ZAG), "GST_CAPS_INTERSECT_ZIG_ZAG", - "zig-zag"}, - {C_ENUM (GST_CAPS_INTERSECT_FIRST), "GST_CAPS_INTERSECT_FIRST", "first"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstCapsIntersectMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstclock.h" */ -GType -gst_clock_return_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_CLOCK_OK), "GST_CLOCK_OK", "ok"}, - {C_ENUM (GST_CLOCK_EARLY), "GST_CLOCK_EARLY", "early"}, - {C_ENUM (GST_CLOCK_UNSCHEDULED), "GST_CLOCK_UNSCHEDULED", "unscheduled"}, - {C_ENUM (GST_CLOCK_BUSY), "GST_CLOCK_BUSY", "busy"}, - {C_ENUM (GST_CLOCK_BADTIME), "GST_CLOCK_BADTIME", "badtime"}, - {C_ENUM (GST_CLOCK_ERROR), "GST_CLOCK_ERROR", "error"}, - {C_ENUM (GST_CLOCK_UNSUPPORTED), "GST_CLOCK_UNSUPPORTED", "unsupported"}, - {C_ENUM (GST_CLOCK_DONE), "GST_CLOCK_DONE", "done"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstClockReturn", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_clock_entry_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_CLOCK_ENTRY_SINGLE), "GST_CLOCK_ENTRY_SINGLE", "single"}, - {C_ENUM (GST_CLOCK_ENTRY_PERIODIC), "GST_CLOCK_ENTRY_PERIODIC", "periodic"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstClockEntryType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_clock_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC), - "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC", "can-do-single-sync"}, - {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC), - "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC", "can-do-single-async"}, - {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC), - "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC", "can-do-periodic-sync"}, - {C_FLAGS (GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC), - "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC", "can-do-periodic-async"}, - {C_FLAGS (GST_CLOCK_FLAG_CAN_SET_RESOLUTION), - "GST_CLOCK_FLAG_CAN_SET_RESOLUTION", "can-set-resolution"}, - {C_FLAGS (GST_CLOCK_FLAG_CAN_SET_MASTER), "GST_CLOCK_FLAG_CAN_SET_MASTER", - "can-set-master"}, - {C_FLAGS (GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC), - "GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC", "needs-startup-sync"}, - {C_FLAGS (GST_CLOCK_FLAG_LAST), "GST_CLOCK_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstClockFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstdebugutils.h" */ -GType -gst_debug_graph_details_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE), - "GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE", "media-type"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS), - "GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS", "caps-details"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS), - "GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS", "non-default-params"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_STATES), "GST_DEBUG_GRAPH_SHOW_STATES", - "states"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_FULL_PARAMS), - "GST_DEBUG_GRAPH_SHOW_FULL_PARAMS", "full-params"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_ALL), "GST_DEBUG_GRAPH_SHOW_ALL", "all"}, - {C_FLAGS (GST_DEBUG_GRAPH_SHOW_VERBOSE), "GST_DEBUG_GRAPH_SHOW_VERBOSE", - "verbose"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstDebugGraphDetails", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstelement.h" */ -GType -gst_state_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STATE_VOID_PENDING), "GST_STATE_VOID_PENDING", "void-pending"}, - {C_ENUM (GST_STATE_NULL), "GST_STATE_NULL", "null"}, - {C_ENUM (GST_STATE_READY), "GST_STATE_READY", "ready"}, - {C_ENUM (GST_STATE_PAUSED), "GST_STATE_PAUSED", "paused"}, - {C_ENUM (GST_STATE_PLAYING), "GST_STATE_PLAYING", "playing"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstState", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_state_change_return_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STATE_CHANGE_FAILURE), "GST_STATE_CHANGE_FAILURE", "failure"}, - {C_ENUM (GST_STATE_CHANGE_SUCCESS), "GST_STATE_CHANGE_SUCCESS", "success"}, - {C_ENUM (GST_STATE_CHANGE_ASYNC), "GST_STATE_CHANGE_ASYNC", "async"}, - {C_ENUM (GST_STATE_CHANGE_NO_PREROLL), "GST_STATE_CHANGE_NO_PREROLL", - "no-preroll"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstStateChangeReturn", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_state_change_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STATE_CHANGE_NULL_TO_READY), "GST_STATE_CHANGE_NULL_TO_READY", - "null-to-ready"}, - {C_ENUM (GST_STATE_CHANGE_READY_TO_PAUSED), - "GST_STATE_CHANGE_READY_TO_PAUSED", "ready-to-paused"}, - {C_ENUM (GST_STATE_CHANGE_PAUSED_TO_PLAYING), - "GST_STATE_CHANGE_PAUSED_TO_PLAYING", "paused-to-playing"}, - {C_ENUM (GST_STATE_CHANGE_PLAYING_TO_PAUSED), - "GST_STATE_CHANGE_PLAYING_TO_PAUSED", "playing-to-paused"}, - {C_ENUM (GST_STATE_CHANGE_PAUSED_TO_READY), - "GST_STATE_CHANGE_PAUSED_TO_READY", "paused-to-ready"}, - {C_ENUM (GST_STATE_CHANGE_READY_TO_NULL), "GST_STATE_CHANGE_READY_TO_NULL", - "ready-to-null"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstStateChange", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_element_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_ELEMENT_FLAG_LOCKED_STATE), "GST_ELEMENT_FLAG_LOCKED_STATE", - "locked-state"}, - {C_FLAGS (GST_ELEMENT_FLAG_SINK), "GST_ELEMENT_FLAG_SINK", "sink"}, - {C_FLAGS (GST_ELEMENT_FLAG_SOURCE), "GST_ELEMENT_FLAG_SOURCE", "source"}, - {C_FLAGS (GST_ELEMENT_FLAG_PROVIDE_CLOCK), "GST_ELEMENT_FLAG_PROVIDE_CLOCK", - "provide-clock"}, - {C_FLAGS (GST_ELEMENT_FLAG_REQUIRE_CLOCK), "GST_ELEMENT_FLAG_REQUIRE_CLOCK", - "require-clock"}, - {C_FLAGS (GST_ELEMENT_FLAG_INDEXABLE), "GST_ELEMENT_FLAG_INDEXABLE", - "indexable"}, - {C_FLAGS (GST_ELEMENT_FLAG_LAST), "GST_ELEMENT_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstElementFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsterror.h" */ -GType -gst_core_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_CORE_ERROR_FAILED), "GST_CORE_ERROR_FAILED", "failed"}, - {C_ENUM (GST_CORE_ERROR_TOO_LAZY), "GST_CORE_ERROR_TOO_LAZY", "too-lazy"}, - {C_ENUM (GST_CORE_ERROR_NOT_IMPLEMENTED), "GST_CORE_ERROR_NOT_IMPLEMENTED", - "not-implemented"}, - {C_ENUM (GST_CORE_ERROR_STATE_CHANGE), "GST_CORE_ERROR_STATE_CHANGE", - "state-change"}, - {C_ENUM (GST_CORE_ERROR_PAD), "GST_CORE_ERROR_PAD", "pad"}, - {C_ENUM (GST_CORE_ERROR_THREAD), "GST_CORE_ERROR_THREAD", "thread"}, - {C_ENUM (GST_CORE_ERROR_NEGOTIATION), "GST_CORE_ERROR_NEGOTIATION", - "negotiation"}, - {C_ENUM (GST_CORE_ERROR_EVENT), "GST_CORE_ERROR_EVENT", "event"}, - {C_ENUM (GST_CORE_ERROR_SEEK), "GST_CORE_ERROR_SEEK", "seek"}, - {C_ENUM (GST_CORE_ERROR_CAPS), "GST_CORE_ERROR_CAPS", "caps"}, - {C_ENUM (GST_CORE_ERROR_TAG), "GST_CORE_ERROR_TAG", "tag"}, - {C_ENUM (GST_CORE_ERROR_MISSING_PLUGIN), "GST_CORE_ERROR_MISSING_PLUGIN", - "missing-plugin"}, - {C_ENUM (GST_CORE_ERROR_CLOCK), "GST_CORE_ERROR_CLOCK", "clock"}, - {C_ENUM (GST_CORE_ERROR_DISABLED), "GST_CORE_ERROR_DISABLED", "disabled"}, - {C_ENUM (GST_CORE_ERROR_NUM_ERRORS), "GST_CORE_ERROR_NUM_ERRORS", - "num-errors"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstCoreError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_library_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_LIBRARY_ERROR_FAILED), "GST_LIBRARY_ERROR_FAILED", "failed"}, - {C_ENUM (GST_LIBRARY_ERROR_TOO_LAZY), "GST_LIBRARY_ERROR_TOO_LAZY", - "too-lazy"}, - {C_ENUM (GST_LIBRARY_ERROR_INIT), "GST_LIBRARY_ERROR_INIT", "init"}, - {C_ENUM (GST_LIBRARY_ERROR_SHUTDOWN), "GST_LIBRARY_ERROR_SHUTDOWN", - "shutdown"}, - {C_ENUM (GST_LIBRARY_ERROR_SETTINGS), "GST_LIBRARY_ERROR_SETTINGS", - "settings"}, - {C_ENUM (GST_LIBRARY_ERROR_ENCODE), "GST_LIBRARY_ERROR_ENCODE", "encode"}, - {C_ENUM (GST_LIBRARY_ERROR_NUM_ERRORS), "GST_LIBRARY_ERROR_NUM_ERRORS", - "num-errors"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstLibraryError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_resource_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_RESOURCE_ERROR_FAILED), "GST_RESOURCE_ERROR_FAILED", "failed"}, - {C_ENUM (GST_RESOURCE_ERROR_TOO_LAZY), "GST_RESOURCE_ERROR_TOO_LAZY", - "too-lazy"}, - {C_ENUM (GST_RESOURCE_ERROR_NOT_FOUND), "GST_RESOURCE_ERROR_NOT_FOUND", - "not-found"}, - {C_ENUM (GST_RESOURCE_ERROR_BUSY), "GST_RESOURCE_ERROR_BUSY", "busy"}, - {C_ENUM (GST_RESOURCE_ERROR_OPEN_READ), "GST_RESOURCE_ERROR_OPEN_READ", - "open-read"}, - {C_ENUM (GST_RESOURCE_ERROR_OPEN_WRITE), "GST_RESOURCE_ERROR_OPEN_WRITE", - "open-write"}, - {C_ENUM (GST_RESOURCE_ERROR_OPEN_READ_WRITE), - "GST_RESOURCE_ERROR_OPEN_READ_WRITE", "open-read-write"}, - {C_ENUM (GST_RESOURCE_ERROR_CLOSE), "GST_RESOURCE_ERROR_CLOSE", "close"}, - {C_ENUM (GST_RESOURCE_ERROR_READ), "GST_RESOURCE_ERROR_READ", "read"}, - {C_ENUM (GST_RESOURCE_ERROR_WRITE), "GST_RESOURCE_ERROR_WRITE", "write"}, - {C_ENUM (GST_RESOURCE_ERROR_SEEK), "GST_RESOURCE_ERROR_SEEK", "seek"}, - {C_ENUM (GST_RESOURCE_ERROR_SYNC), "GST_RESOURCE_ERROR_SYNC", "sync"}, - {C_ENUM (GST_RESOURCE_ERROR_SETTINGS), "GST_RESOURCE_ERROR_SETTINGS", - "settings"}, - {C_ENUM (GST_RESOURCE_ERROR_NO_SPACE_LEFT), - "GST_RESOURCE_ERROR_NO_SPACE_LEFT", "no-space-left"}, - {C_ENUM (GST_RESOURCE_ERROR_NOT_AUTHORIZED), - "GST_RESOURCE_ERROR_NOT_AUTHORIZED", "not-authorized"}, - {C_ENUM (GST_RESOURCE_ERROR_NUM_ERRORS), "GST_RESOURCE_ERROR_NUM_ERRORS", - "num-errors"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstResourceError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_stream_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STREAM_ERROR_FAILED), "GST_STREAM_ERROR_FAILED", "failed"}, - {C_ENUM (GST_STREAM_ERROR_TOO_LAZY), "GST_STREAM_ERROR_TOO_LAZY", - "too-lazy"}, - {C_ENUM (GST_STREAM_ERROR_NOT_IMPLEMENTED), - "GST_STREAM_ERROR_NOT_IMPLEMENTED", "not-implemented"}, - {C_ENUM (GST_STREAM_ERROR_TYPE_NOT_FOUND), - "GST_STREAM_ERROR_TYPE_NOT_FOUND", "type-not-found"}, - {C_ENUM (GST_STREAM_ERROR_WRONG_TYPE), "GST_STREAM_ERROR_WRONG_TYPE", - "wrong-type"}, - {C_ENUM (GST_STREAM_ERROR_CODEC_NOT_FOUND), - "GST_STREAM_ERROR_CODEC_NOT_FOUND", "codec-not-found"}, - {C_ENUM (GST_STREAM_ERROR_DECODE), "GST_STREAM_ERROR_DECODE", "decode"}, - {C_ENUM (GST_STREAM_ERROR_ENCODE), "GST_STREAM_ERROR_ENCODE", "encode"}, - {C_ENUM (GST_STREAM_ERROR_DEMUX), "GST_STREAM_ERROR_DEMUX", "demux"}, - {C_ENUM (GST_STREAM_ERROR_MUX), "GST_STREAM_ERROR_MUX", "mux"}, - {C_ENUM (GST_STREAM_ERROR_FORMAT), "GST_STREAM_ERROR_FORMAT", "format"}, - {C_ENUM (GST_STREAM_ERROR_DECRYPT), "GST_STREAM_ERROR_DECRYPT", "decrypt"}, - {C_ENUM (GST_STREAM_ERROR_DECRYPT_NOKEY), "GST_STREAM_ERROR_DECRYPT_NOKEY", - "decrypt-nokey"}, - {C_ENUM (GST_STREAM_ERROR_NUM_ERRORS), "GST_STREAM_ERROR_NUM_ERRORS", - "num-errors"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstStreamError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstevent.h" */ -GType -gst_event_type_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_EVENT_TYPE_UPSTREAM), "GST_EVENT_TYPE_UPSTREAM", "upstream"}, - {C_FLAGS (GST_EVENT_TYPE_DOWNSTREAM), "GST_EVENT_TYPE_DOWNSTREAM", - "downstream"}, - {C_FLAGS (GST_EVENT_TYPE_SERIALIZED), "GST_EVENT_TYPE_SERIALIZED", - "serialized"}, - {C_FLAGS (GST_EVENT_TYPE_STICKY), "GST_EVENT_TYPE_STICKY", "sticky"}, - {C_FLAGS (GST_EVENT_TYPE_STICKY_MULTI), "GST_EVENT_TYPE_STICKY_MULTI", - "sticky-multi"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstEventTypeFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_event_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_EVENT_UNKNOWN), "GST_EVENT_UNKNOWN", "unknown"}, - {C_ENUM (GST_EVENT_FLUSH_START), "GST_EVENT_FLUSH_START", "flush-start"}, - {C_ENUM (GST_EVENT_FLUSH_STOP), "GST_EVENT_FLUSH_STOP", "flush-stop"}, - {C_ENUM (GST_EVENT_STREAM_START), "GST_EVENT_STREAM_START", "stream-start"}, - {C_ENUM (GST_EVENT_CAPS), "GST_EVENT_CAPS", "caps"}, - {C_ENUM (GST_EVENT_SEGMENT), "GST_EVENT_SEGMENT", "segment"}, - {C_ENUM (GST_EVENT_STREAM_COLLECTION), "GST_EVENT_STREAM_COLLECTION", - "stream-collection"}, - {C_ENUM (GST_EVENT_TAG), "GST_EVENT_TAG", "tag"}, - {C_ENUM (GST_EVENT_BUFFERSIZE), "GST_EVENT_BUFFERSIZE", "buffersize"}, - {C_ENUM (GST_EVENT_SINK_MESSAGE), "GST_EVENT_SINK_MESSAGE", "sink-message"}, - {C_ENUM (GST_EVENT_STREAM_GROUP_DONE), "GST_EVENT_STREAM_GROUP_DONE", - "stream-group-done"}, - {C_ENUM (GST_EVENT_EOS), "GST_EVENT_EOS", "eos"}, - {C_ENUM (GST_EVENT_TOC), "GST_EVENT_TOC", "toc"}, - {C_ENUM (GST_EVENT_PROTECTION), "GST_EVENT_PROTECTION", "protection"}, - {C_ENUM (GST_EVENT_SEGMENT_DONE), "GST_EVENT_SEGMENT_DONE", "segment-done"}, - {C_ENUM (GST_EVENT_GAP), "GST_EVENT_GAP", "gap"}, - {C_ENUM (GST_EVENT_QOS), "GST_EVENT_QOS", "qos"}, - {C_ENUM (GST_EVENT_SEEK), "GST_EVENT_SEEK", "seek"}, - {C_ENUM (GST_EVENT_NAVIGATION), "GST_EVENT_NAVIGATION", "navigation"}, - {C_ENUM (GST_EVENT_LATENCY), "GST_EVENT_LATENCY", "latency"}, - {C_ENUM (GST_EVENT_STEP), "GST_EVENT_STEP", "step"}, - {C_ENUM (GST_EVENT_RECONFIGURE), "GST_EVENT_RECONFIGURE", "reconfigure"}, - {C_ENUM (GST_EVENT_TOC_SELECT), "GST_EVENT_TOC_SELECT", "toc-select"}, - {C_ENUM (GST_EVENT_SELECT_STREAMS), "GST_EVENT_SELECT_STREAMS", - "select-streams"}, - {C_ENUM (GST_EVENT_CUSTOM_UPSTREAM), "GST_EVENT_CUSTOM_UPSTREAM", - "custom-upstream"}, - {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM), "GST_EVENT_CUSTOM_DOWNSTREAM", - "custom-downstream"}, - {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_OOB), - "GST_EVENT_CUSTOM_DOWNSTREAM_OOB", "custom-downstream-oob"}, - {C_ENUM (GST_EVENT_CUSTOM_DOWNSTREAM_STICKY), - "GST_EVENT_CUSTOM_DOWNSTREAM_STICKY", "custom-downstream-sticky"}, - {C_ENUM (GST_EVENT_CUSTOM_BOTH), "GST_EVENT_CUSTOM_BOTH", "custom-both"}, - {C_ENUM (GST_EVENT_CUSTOM_BOTH_OOB), "GST_EVENT_CUSTOM_BOTH_OOB", - "custom-both-oob"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstEventType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_stream_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_STREAM_FLAG_NONE), "GST_STREAM_FLAG_NONE", "none"}, - {C_FLAGS (GST_STREAM_FLAG_SPARSE), "GST_STREAM_FLAG_SPARSE", "sparse"}, - {C_FLAGS (GST_STREAM_FLAG_SELECT), "GST_STREAM_FLAG_SELECT", "select"}, - {C_FLAGS (GST_STREAM_FLAG_UNSELECT), "GST_STREAM_FLAG_UNSELECT", - "unselect"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstStreamFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_qos_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_QOS_TYPE_OVERFLOW), "GST_QOS_TYPE_OVERFLOW", "overflow"}, - {C_ENUM (GST_QOS_TYPE_UNDERFLOW), "GST_QOS_TYPE_UNDERFLOW", "underflow"}, - {C_ENUM (GST_QOS_TYPE_THROTTLE), "GST_QOS_TYPE_THROTTLE", "throttle"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstQOSType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstformat.h" */ -GType -gst_format_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_FORMAT_UNDEFINED), "GST_FORMAT_UNDEFINED", "undefined"}, - {C_ENUM (GST_FORMAT_DEFAULT), "GST_FORMAT_DEFAULT", "default"}, - {C_ENUM (GST_FORMAT_BYTES), "GST_FORMAT_BYTES", "bytes"}, - {C_ENUM (GST_FORMAT_TIME), "GST_FORMAT_TIME", "time"}, - {C_ENUM (GST_FORMAT_BUFFERS), "GST_FORMAT_BUFFERS", "buffers"}, - {C_ENUM (GST_FORMAT_PERCENT), "GST_FORMAT_PERCENT", "percent"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstFormat", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstinfo.h" */ -GType -gst_debug_level_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_LEVEL_NONE), "GST_LEVEL_NONE", "none"}, - {C_ENUM (GST_LEVEL_ERROR), "GST_LEVEL_ERROR", "error"}, - {C_ENUM (GST_LEVEL_WARNING), "GST_LEVEL_WARNING", "warning"}, - {C_ENUM (GST_LEVEL_FIXME), "GST_LEVEL_FIXME", "fixme"}, - {C_ENUM (GST_LEVEL_INFO), "GST_LEVEL_INFO", "info"}, - {C_ENUM (GST_LEVEL_DEBUG), "GST_LEVEL_DEBUG", "debug"}, - {C_ENUM (GST_LEVEL_LOG), "GST_LEVEL_LOG", "log"}, - {C_ENUM (GST_LEVEL_TRACE), "GST_LEVEL_TRACE", "trace"}, - {C_ENUM (GST_LEVEL_MEMDUMP), "GST_LEVEL_MEMDUMP", "memdump"}, - {C_ENUM (GST_LEVEL_COUNT), "GST_LEVEL_COUNT", "count"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstDebugLevel", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_debug_color_flags_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_DEBUG_FG_BLACK), "GST_DEBUG_FG_BLACK", "fg-black"}, - {C_ENUM (GST_DEBUG_FG_RED), "GST_DEBUG_FG_RED", "fg-red"}, - {C_ENUM (GST_DEBUG_FG_GREEN), "GST_DEBUG_FG_GREEN", "fg-green"}, - {C_ENUM (GST_DEBUG_FG_YELLOW), "GST_DEBUG_FG_YELLOW", "fg-yellow"}, - {C_ENUM (GST_DEBUG_FG_BLUE), "GST_DEBUG_FG_BLUE", "fg-blue"}, - {C_ENUM (GST_DEBUG_FG_MAGENTA), "GST_DEBUG_FG_MAGENTA", "fg-magenta"}, - {C_ENUM (GST_DEBUG_FG_CYAN), "GST_DEBUG_FG_CYAN", "fg-cyan"}, - {C_ENUM (GST_DEBUG_FG_WHITE), "GST_DEBUG_FG_WHITE", "fg-white"}, - {C_ENUM (GST_DEBUG_BG_BLACK), "GST_DEBUG_BG_BLACK", "bg-black"}, - {C_ENUM (GST_DEBUG_BG_RED), "GST_DEBUG_BG_RED", "bg-red"}, - {C_ENUM (GST_DEBUG_BG_GREEN), "GST_DEBUG_BG_GREEN", "bg-green"}, - {C_ENUM (GST_DEBUG_BG_YELLOW), "GST_DEBUG_BG_YELLOW", "bg-yellow"}, - {C_ENUM (GST_DEBUG_BG_BLUE), "GST_DEBUG_BG_BLUE", "bg-blue"}, - {C_ENUM (GST_DEBUG_BG_MAGENTA), "GST_DEBUG_BG_MAGENTA", "bg-magenta"}, - {C_ENUM (GST_DEBUG_BG_CYAN), "GST_DEBUG_BG_CYAN", "bg-cyan"}, - {C_ENUM (GST_DEBUG_BG_WHITE), "GST_DEBUG_BG_WHITE", "bg-white"}, - {C_ENUM (GST_DEBUG_BOLD), "GST_DEBUG_BOLD", "bold"}, - {C_ENUM (GST_DEBUG_UNDERLINE), "GST_DEBUG_UNDERLINE", "underline"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstDebugColorFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_debug_color_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_DEBUG_COLOR_MODE_OFF), "GST_DEBUG_COLOR_MODE_OFF", "off"}, - {C_ENUM (GST_DEBUG_COLOR_MODE_ON), "GST_DEBUG_COLOR_MODE_ON", "on"}, - {C_ENUM (GST_DEBUG_COLOR_MODE_UNIX), "GST_DEBUG_COLOR_MODE_UNIX", "unix"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstDebugColorMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstiterator.h" */ -GType -gst_iterator_result_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_ITERATOR_DONE), "GST_ITERATOR_DONE", "done"}, - {C_ENUM (GST_ITERATOR_OK), "GST_ITERATOR_OK", "ok"}, - {C_ENUM (GST_ITERATOR_RESYNC), "GST_ITERATOR_RESYNC", "resync"}, - {C_ENUM (GST_ITERATOR_ERROR), "GST_ITERATOR_ERROR", "error"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstIteratorResult", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_iterator_item_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_ITERATOR_ITEM_SKIP), "GST_ITERATOR_ITEM_SKIP", "skip"}, - {C_ENUM (GST_ITERATOR_ITEM_PASS), "GST_ITERATOR_ITEM_PASS", "pass"}, - {C_ENUM (GST_ITERATOR_ITEM_END), "GST_ITERATOR_ITEM_END", "end"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstIteratorItem", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstmessage.h" */ -GType -gst_message_type_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_MESSAGE_UNKNOWN), "GST_MESSAGE_UNKNOWN", "unknown"}, - {C_FLAGS (GST_MESSAGE_EOS), "GST_MESSAGE_EOS", "eos"}, - {C_FLAGS (GST_MESSAGE_ERROR), "GST_MESSAGE_ERROR", "error"}, - {C_FLAGS (GST_MESSAGE_WARNING), "GST_MESSAGE_WARNING", "warning"}, - {C_FLAGS (GST_MESSAGE_INFO), "GST_MESSAGE_INFO", "info"}, - {C_FLAGS (GST_MESSAGE_TAG), "GST_MESSAGE_TAG", "tag"}, - {C_FLAGS (GST_MESSAGE_BUFFERING), "GST_MESSAGE_BUFFERING", "buffering"}, - {C_FLAGS (GST_MESSAGE_STATE_CHANGED), "GST_MESSAGE_STATE_CHANGED", - "state-changed"}, - {C_FLAGS (GST_MESSAGE_STATE_DIRTY), "GST_MESSAGE_STATE_DIRTY", - "state-dirty"}, - {C_FLAGS (GST_MESSAGE_STEP_DONE), "GST_MESSAGE_STEP_DONE", "step-done"}, - {C_FLAGS (GST_MESSAGE_CLOCK_PROVIDE), "GST_MESSAGE_CLOCK_PROVIDE", - "clock-provide"}, - {C_FLAGS (GST_MESSAGE_CLOCK_LOST), "GST_MESSAGE_CLOCK_LOST", "clock-lost"}, - {C_FLAGS (GST_MESSAGE_NEW_CLOCK), "GST_MESSAGE_NEW_CLOCK", "new-clock"}, - {C_FLAGS (GST_MESSAGE_STRUCTURE_CHANGE), "GST_MESSAGE_STRUCTURE_CHANGE", - "structure-change"}, - {C_FLAGS (GST_MESSAGE_STREAM_STATUS), "GST_MESSAGE_STREAM_STATUS", - "stream-status"}, - {C_FLAGS (GST_MESSAGE_APPLICATION), "GST_MESSAGE_APPLICATION", - "application"}, - {C_FLAGS (GST_MESSAGE_ELEMENT), "GST_MESSAGE_ELEMENT", "element"}, - {C_FLAGS (GST_MESSAGE_SEGMENT_START), "GST_MESSAGE_SEGMENT_START", - "segment-start"}, - {C_FLAGS (GST_MESSAGE_SEGMENT_DONE), "GST_MESSAGE_SEGMENT_DONE", - "segment-done"}, - {C_FLAGS (GST_MESSAGE_DURATION_CHANGED), "GST_MESSAGE_DURATION_CHANGED", - "duration-changed"}, - {C_FLAGS (GST_MESSAGE_LATENCY), "GST_MESSAGE_LATENCY", "latency"}, - {C_FLAGS (GST_MESSAGE_ASYNC_START), "GST_MESSAGE_ASYNC_START", - "async-start"}, - {C_FLAGS (GST_MESSAGE_ASYNC_DONE), "GST_MESSAGE_ASYNC_DONE", "async-done"}, - {C_FLAGS (GST_MESSAGE_REQUEST_STATE), "GST_MESSAGE_REQUEST_STATE", - "request-state"}, - {C_FLAGS (GST_MESSAGE_STEP_START), "GST_MESSAGE_STEP_START", "step-start"}, - {C_FLAGS (GST_MESSAGE_QOS), "GST_MESSAGE_QOS", "qos"}, - {C_FLAGS (GST_MESSAGE_PROGRESS), "GST_MESSAGE_PROGRESS", "progress"}, - {C_FLAGS (GST_MESSAGE_TOC), "GST_MESSAGE_TOC", "toc"}, - {C_FLAGS (GST_MESSAGE_RESET_TIME), "GST_MESSAGE_RESET_TIME", "reset-time"}, - {C_FLAGS (GST_MESSAGE_STREAM_START), "GST_MESSAGE_STREAM_START", - "stream-start"}, - {C_FLAGS (GST_MESSAGE_NEED_CONTEXT), "GST_MESSAGE_NEED_CONTEXT", - "need-context"}, - {C_FLAGS (GST_MESSAGE_HAVE_CONTEXT), "GST_MESSAGE_HAVE_CONTEXT", - "have-context"}, - {C_FLAGS (GST_MESSAGE_EXTENDED), "GST_MESSAGE_EXTENDED", "extended"}, - {C_FLAGS (GST_MESSAGE_DEVICE_ADDED), "GST_MESSAGE_DEVICE_ADDED", - "device-added"}, - {C_FLAGS (GST_MESSAGE_DEVICE_REMOVED), "GST_MESSAGE_DEVICE_REMOVED", - "device-removed"}, - {C_FLAGS (GST_MESSAGE_PROPERTY_NOTIFY), "GST_MESSAGE_PROPERTY_NOTIFY", - "property-notify"}, - {C_FLAGS (GST_MESSAGE_STREAM_COLLECTION), "GST_MESSAGE_STREAM_COLLECTION", - "stream-collection"}, - {C_FLAGS (GST_MESSAGE_STREAMS_SELECTED), "GST_MESSAGE_STREAMS_SELECTED", - "streams-selected"}, - {C_FLAGS (GST_MESSAGE_REDIRECT), "GST_MESSAGE_REDIRECT", "redirect"}, - {C_FLAGS (GST_MESSAGE_ANY), "GST_MESSAGE_ANY", "any"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstMessageType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_structure_change_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_LINK), - "GST_STRUCTURE_CHANGE_TYPE_PAD_LINK", "link"}, - {C_ENUM (GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK), - "GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK", "unlink"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstStructureChangeType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_stream_status_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_STREAM_STATUS_TYPE_CREATE), "GST_STREAM_STATUS_TYPE_CREATE", - "create"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_ENTER), "GST_STREAM_STATUS_TYPE_ENTER", - "enter"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_LEAVE), "GST_STREAM_STATUS_TYPE_LEAVE", - "leave"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_DESTROY), "GST_STREAM_STATUS_TYPE_DESTROY", - "destroy"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_START), "GST_STREAM_STATUS_TYPE_START", - "start"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_PAUSE), "GST_STREAM_STATUS_TYPE_PAUSE", - "pause"}, - {C_ENUM (GST_STREAM_STATUS_TYPE_STOP), "GST_STREAM_STATUS_TYPE_STOP", - "stop"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstStreamStatusType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_progress_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PROGRESS_TYPE_START), "GST_PROGRESS_TYPE_START", "start"}, - {C_ENUM (GST_PROGRESS_TYPE_CONTINUE), "GST_PROGRESS_TYPE_CONTINUE", - "continue"}, - {C_ENUM (GST_PROGRESS_TYPE_COMPLETE), "GST_PROGRESS_TYPE_COMPLETE", - "complete"}, - {C_ENUM (GST_PROGRESS_TYPE_CANCELED), "GST_PROGRESS_TYPE_CANCELED", - "canceled"}, - {C_ENUM (GST_PROGRESS_TYPE_ERROR), "GST_PROGRESS_TYPE_ERROR", "error"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstProgressType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstmeta.h" */ -GType -gst_meta_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_META_FLAG_NONE), "GST_META_FLAG_NONE", "none"}, - {C_FLAGS (GST_META_FLAG_READONLY), "GST_META_FLAG_READONLY", "readonly"}, - {C_FLAGS (GST_META_FLAG_POOLED), "GST_META_FLAG_POOLED", "pooled"}, - {C_FLAGS (GST_META_FLAG_LOCKED), "GST_META_FLAG_LOCKED", "locked"}, - {C_FLAGS (GST_META_FLAG_LAST), "GST_META_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstMetaFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstmemory.h" */ -GType -gst_memory_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_MEMORY_FLAG_READONLY), "GST_MEMORY_FLAG_READONLY", - "readonly"}, - {C_FLAGS (GST_MEMORY_FLAG_NO_SHARE), "GST_MEMORY_FLAG_NO_SHARE", - "no-share"}, - {C_FLAGS (GST_MEMORY_FLAG_ZERO_PREFIXED), "GST_MEMORY_FLAG_ZERO_PREFIXED", - "zero-prefixed"}, - {C_FLAGS (GST_MEMORY_FLAG_ZERO_PADDED), "GST_MEMORY_FLAG_ZERO_PADDED", - "zero-padded"}, - {C_FLAGS (GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS), - "GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS", "physically-contiguous"}, - {C_FLAGS (GST_MEMORY_FLAG_NOT_MAPPABLE), "GST_MEMORY_FLAG_NOT_MAPPABLE", - "not-mappable"}, - {C_FLAGS (GST_MEMORY_FLAG_LAST), "GST_MEMORY_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstMemoryFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_map_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_MAP_READ), "GST_MAP_READ", "read"}, - {C_FLAGS (GST_MAP_WRITE), "GST_MAP_WRITE", "write"}, - {C_FLAGS (GST_MAP_FLAG_LAST), "GST_MAP_FLAG_LAST", "flag-last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstMapFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstminiobject.h" */ -GType -gst_mini_object_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_MINI_OBJECT_FLAG_LOCKABLE), "GST_MINI_OBJECT_FLAG_LOCKABLE", - "lockable"}, - {C_FLAGS (GST_MINI_OBJECT_FLAG_LOCK_READONLY), - "GST_MINI_OBJECT_FLAG_LOCK_READONLY", "lock-readonly"}, - {C_FLAGS (GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED), - "GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED", "may-be-leaked"}, - {C_FLAGS (GST_MINI_OBJECT_FLAG_LAST), "GST_MINI_OBJECT_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstMiniObjectFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_lock_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_LOCK_FLAG_READ), "GST_LOCK_FLAG_READ", "read"}, - {C_FLAGS (GST_LOCK_FLAG_WRITE), "GST_LOCK_FLAG_WRITE", "write"}, - {C_FLAGS (GST_LOCK_FLAG_EXCLUSIVE), "GST_LOCK_FLAG_EXCLUSIVE", "exclusive"}, - {C_FLAGS (GST_LOCK_FLAG_LAST), "GST_LOCK_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstLockFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstpad.h" */ -GType -gst_pad_direction_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PAD_UNKNOWN), "GST_PAD_UNKNOWN", "unknown"}, - {C_ENUM (GST_PAD_SRC), "GST_PAD_SRC", "src"}, - {C_ENUM (GST_PAD_SINK), "GST_PAD_SINK", "sink"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPadDirection", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PAD_MODE_NONE), "GST_PAD_MODE_NONE", "none"}, - {C_ENUM (GST_PAD_MODE_PUSH), "GST_PAD_MODE_PUSH", "push"}, - {C_ENUM (GST_PAD_MODE_PULL), "GST_PAD_MODE_PULL", "pull"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPadMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_link_return_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PAD_LINK_OK), "GST_PAD_LINK_OK", "ok"}, - {C_ENUM (GST_PAD_LINK_WRONG_HIERARCHY), "GST_PAD_LINK_WRONG_HIERARCHY", - "wrong-hierarchy"}, - {C_ENUM (GST_PAD_LINK_WAS_LINKED), "GST_PAD_LINK_WAS_LINKED", "was-linked"}, - {C_ENUM (GST_PAD_LINK_WRONG_DIRECTION), "GST_PAD_LINK_WRONG_DIRECTION", - "wrong-direction"}, - {C_ENUM (GST_PAD_LINK_NOFORMAT), "GST_PAD_LINK_NOFORMAT", "noformat"}, - {C_ENUM (GST_PAD_LINK_NOSCHED), "GST_PAD_LINK_NOSCHED", "nosched"}, - {C_ENUM (GST_PAD_LINK_REFUSED), "GST_PAD_LINK_REFUSED", "refused"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPadLinkReturn", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_flow_return_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_FLOW_CUSTOM_SUCCESS_2), "GST_FLOW_CUSTOM_SUCCESS_2", - "custom-success-2"}, - {C_ENUM (GST_FLOW_CUSTOM_SUCCESS_1), "GST_FLOW_CUSTOM_SUCCESS_1", - "custom-success-1"}, - {C_ENUM (GST_FLOW_CUSTOM_SUCCESS), "GST_FLOW_CUSTOM_SUCCESS", - "custom-success"}, - {C_ENUM (GST_FLOW_OK), "GST_FLOW_OK", "ok"}, - {C_ENUM (GST_FLOW_NOT_LINKED), "GST_FLOW_NOT_LINKED", "not-linked"}, - {C_ENUM (GST_FLOW_FLUSHING), "GST_FLOW_FLUSHING", "flushing"}, - {C_ENUM (GST_FLOW_EOS), "GST_FLOW_EOS", "eos"}, - {C_ENUM (GST_FLOW_NOT_NEGOTIATED), "GST_FLOW_NOT_NEGOTIATED", - "not-negotiated"}, - {C_ENUM (GST_FLOW_ERROR), "GST_FLOW_ERROR", "error"}, - {C_ENUM (GST_FLOW_NOT_SUPPORTED), "GST_FLOW_NOT_SUPPORTED", - "not-supported"}, - {C_ENUM (GST_FLOW_CUSTOM_ERROR), "GST_FLOW_CUSTOM_ERROR", "custom-error"}, - {C_ENUM (GST_FLOW_CUSTOM_ERROR_1), "GST_FLOW_CUSTOM_ERROR_1", - "custom-error-1"}, - {C_ENUM (GST_FLOW_CUSTOM_ERROR_2), "GST_FLOW_CUSTOM_ERROR_2", - "custom-error-2"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstFlowReturn", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_link_check_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PAD_LINK_CHECK_NOTHING), "GST_PAD_LINK_CHECK_NOTHING", - "nothing"}, - {C_FLAGS (GST_PAD_LINK_CHECK_HIERARCHY), "GST_PAD_LINK_CHECK_HIERARCHY", - "hierarchy"}, - {C_FLAGS (GST_PAD_LINK_CHECK_TEMPLATE_CAPS), - "GST_PAD_LINK_CHECK_TEMPLATE_CAPS", "template-caps"}, - {C_FLAGS (GST_PAD_LINK_CHECK_CAPS), "GST_PAD_LINK_CHECK_CAPS", "caps"}, - {C_FLAGS (GST_PAD_LINK_CHECK_DEFAULT), "GST_PAD_LINK_CHECK_DEFAULT", - "default"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPadLinkCheck", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_probe_type_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PAD_PROBE_TYPE_INVALID), "GST_PAD_PROBE_TYPE_INVALID", - "invalid"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_IDLE), "GST_PAD_PROBE_TYPE_IDLE", "idle"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK), "GST_PAD_PROBE_TYPE_BLOCK", "block"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER), "GST_PAD_PROBE_TYPE_BUFFER", - "buffer"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BUFFER_LIST), "GST_PAD_PROBE_TYPE_BUFFER_LIST", - "buffer-list"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM), - "GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM", "event-downstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_UPSTREAM), - "GST_PAD_PROBE_TYPE_EVENT_UPSTREAM", "event-upstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_FLUSH), "GST_PAD_PROBE_TYPE_EVENT_FLUSH", - "event-flush"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM), - "GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM", "query-downstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_UPSTREAM), - "GST_PAD_PROBE_TYPE_QUERY_UPSTREAM", "query-upstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_PUSH), "GST_PAD_PROBE_TYPE_PUSH", "push"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_PULL), "GST_PAD_PROBE_TYPE_PULL", "pull"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BLOCKING), "GST_PAD_PROBE_TYPE_BLOCKING", - "blocking"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM), - "GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM", "data-downstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_DATA_UPSTREAM), - "GST_PAD_PROBE_TYPE_DATA_UPSTREAM", "data-upstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_DATA_BOTH), "GST_PAD_PROBE_TYPE_DATA_BOTH", - "data-both"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM), - "GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM", "block-downstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM), - "GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM", "block-upstream"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_EVENT_BOTH), "GST_PAD_PROBE_TYPE_EVENT_BOTH", - "event-both"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_QUERY_BOTH), "GST_PAD_PROBE_TYPE_QUERY_BOTH", - "query-both"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_ALL_BOTH), "GST_PAD_PROBE_TYPE_ALL_BOTH", - "all-both"}, - {C_FLAGS (GST_PAD_PROBE_TYPE_SCHEDULING), "GST_PAD_PROBE_TYPE_SCHEDULING", - "scheduling"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPadProbeType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_probe_return_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PAD_PROBE_DROP), "GST_PAD_PROBE_DROP", "drop"}, - {C_ENUM (GST_PAD_PROBE_OK), "GST_PAD_PROBE_OK", "ok"}, - {C_ENUM (GST_PAD_PROBE_REMOVE), "GST_PAD_PROBE_REMOVE", "remove"}, - {C_ENUM (GST_PAD_PROBE_PASS), "GST_PAD_PROBE_PASS", "pass"}, - {C_ENUM (GST_PAD_PROBE_HANDLED), "GST_PAD_PROBE_HANDLED", "handled"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPadProbeReturn", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PAD_FLAG_BLOCKED), "GST_PAD_FLAG_BLOCKED", "blocked"}, - {C_FLAGS (GST_PAD_FLAG_FLUSHING), "GST_PAD_FLAG_FLUSHING", "flushing"}, - {C_FLAGS (GST_PAD_FLAG_EOS), "GST_PAD_FLAG_EOS", "eos"}, - {C_FLAGS (GST_PAD_FLAG_BLOCKING), "GST_PAD_FLAG_BLOCKING", "blocking"}, - {C_FLAGS (GST_PAD_FLAG_NEED_PARENT), "GST_PAD_FLAG_NEED_PARENT", - "need-parent"}, - {C_FLAGS (GST_PAD_FLAG_NEED_RECONFIGURE), "GST_PAD_FLAG_NEED_RECONFIGURE", - "need-reconfigure"}, - {C_FLAGS (GST_PAD_FLAG_PENDING_EVENTS), "GST_PAD_FLAG_PENDING_EVENTS", - "pending-events"}, - {C_FLAGS (GST_PAD_FLAG_FIXED_CAPS), "GST_PAD_FLAG_FIXED_CAPS", - "fixed-caps"}, - {C_FLAGS (GST_PAD_FLAG_PROXY_CAPS), "GST_PAD_FLAG_PROXY_CAPS", - "proxy-caps"}, - {C_FLAGS (GST_PAD_FLAG_PROXY_ALLOCATION), "GST_PAD_FLAG_PROXY_ALLOCATION", - "proxy-allocation"}, - {C_FLAGS (GST_PAD_FLAG_PROXY_SCHEDULING), "GST_PAD_FLAG_PROXY_SCHEDULING", - "proxy-scheduling"}, - {C_FLAGS (GST_PAD_FLAG_ACCEPT_INTERSECT), "GST_PAD_FLAG_ACCEPT_INTERSECT", - "accept-intersect"}, - {C_FLAGS (GST_PAD_FLAG_ACCEPT_TEMPLATE), "GST_PAD_FLAG_ACCEPT_TEMPLATE", - "accept-template"}, - {C_FLAGS (GST_PAD_FLAG_LAST), "GST_PAD_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPadFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstpadtemplate.h" */ -GType -gst_pad_presence_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PAD_ALWAYS), "GST_PAD_ALWAYS", "always"}, - {C_ENUM (GST_PAD_SOMETIMES), "GST_PAD_SOMETIMES", "sometimes"}, - {C_ENUM (GST_PAD_REQUEST), "GST_PAD_REQUEST", "request"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPadPresence", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_pad_template_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PAD_TEMPLATE_FLAG_LAST), "GST_PAD_TEMPLATE_FLAG_LAST", - "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPadTemplateFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstpipeline.h" */ -GType -gst_pipeline_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PIPELINE_FLAG_FIXED_CLOCK), "GST_PIPELINE_FLAG_FIXED_CLOCK", - "fixed-clock"}, - {C_FLAGS (GST_PIPELINE_FLAG_LAST), "GST_PIPELINE_FLAG_LAST", "last"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPipelineFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstplugin.h" */ -GType -gst_plugin_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PLUGIN_ERROR_MODULE), "GST_PLUGIN_ERROR_MODULE", "module"}, - {C_ENUM (GST_PLUGIN_ERROR_DEPENDENCIES), "GST_PLUGIN_ERROR_DEPENDENCIES", - "dependencies"}, - {C_ENUM (GST_PLUGIN_ERROR_NAME_MISMATCH), "GST_PLUGIN_ERROR_NAME_MISMATCH", - "name-mismatch"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstPluginError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_plugin_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PLUGIN_FLAG_CACHED), "GST_PLUGIN_FLAG_CACHED", "cached"}, - {C_FLAGS (GST_PLUGIN_FLAG_BLACKLISTED), "GST_PLUGIN_FLAG_BLACKLISTED", - "blacklisted"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPluginFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_plugin_dependency_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_NONE), - "GST_PLUGIN_DEPENDENCY_FLAG_NONE", "none"}, - {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_RECURSE), - "GST_PLUGIN_DEPENDENCY_FLAG_RECURSE", "recurse"}, - {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY), - "GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY", - "paths-are-default-only"}, - {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX), - "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX", - "file-name-is-suffix"}, - {C_FLAGS (GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX), - "GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX", - "file-name-is-prefix"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstPluginDependencyFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstpluginfeature.h" */ -GType -gst_rank_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_RANK_NONE), "GST_RANK_NONE", "none"}, - {C_ENUM (GST_RANK_MARGINAL), "GST_RANK_MARGINAL", "marginal"}, - {C_ENUM (GST_RANK_SECONDARY), "GST_RANK_SECONDARY", "secondary"}, - {C_ENUM (GST_RANK_PRIMARY), "GST_RANK_PRIMARY", "primary"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstRank", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstquery.h" */ -GType -gst_query_type_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_QUERY_TYPE_UPSTREAM), "GST_QUERY_TYPE_UPSTREAM", "upstream"}, - {C_FLAGS (GST_QUERY_TYPE_DOWNSTREAM), "GST_QUERY_TYPE_DOWNSTREAM", - "downstream"}, - {C_FLAGS (GST_QUERY_TYPE_SERIALIZED), "GST_QUERY_TYPE_SERIALIZED", - "serialized"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstQueryTypeFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_query_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_QUERY_UNKNOWN), "GST_QUERY_UNKNOWN", "unknown"}, - {C_ENUM (GST_QUERY_POSITION), "GST_QUERY_POSITION", "position"}, - {C_ENUM (GST_QUERY_DURATION), "GST_QUERY_DURATION", "duration"}, - {C_ENUM (GST_QUERY_LATENCY), "GST_QUERY_LATENCY", "latency"}, - {C_ENUM (GST_QUERY_JITTER), "GST_QUERY_JITTER", "jitter"}, - {C_ENUM (GST_QUERY_RATE), "GST_QUERY_RATE", "rate"}, - {C_ENUM (GST_QUERY_SEEKING), "GST_QUERY_SEEKING", "seeking"}, - {C_ENUM (GST_QUERY_SEGMENT), "GST_QUERY_SEGMENT", "segment"}, - {C_ENUM (GST_QUERY_CONVERT), "GST_QUERY_CONVERT", "convert"}, - {C_ENUM (GST_QUERY_FORMATS), "GST_QUERY_FORMATS", "formats"}, - {C_ENUM (GST_QUERY_BUFFERING), "GST_QUERY_BUFFERING", "buffering"}, - {C_ENUM (GST_QUERY_CUSTOM), "GST_QUERY_CUSTOM", "custom"}, - {C_ENUM (GST_QUERY_URI), "GST_QUERY_URI", "uri"}, - {C_ENUM (GST_QUERY_ALLOCATION), "GST_QUERY_ALLOCATION", "allocation"}, - {C_ENUM (GST_QUERY_SCHEDULING), "GST_QUERY_SCHEDULING", "scheduling"}, - {C_ENUM (GST_QUERY_ACCEPT_CAPS), "GST_QUERY_ACCEPT_CAPS", "accept-caps"}, - {C_ENUM (GST_QUERY_CAPS), "GST_QUERY_CAPS", "caps"}, - {C_ENUM (GST_QUERY_DRAIN), "GST_QUERY_DRAIN", "drain"}, - {C_ENUM (GST_QUERY_CONTEXT), "GST_QUERY_CONTEXT", "context"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstQueryType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_buffering_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_BUFFERING_STREAM), "GST_BUFFERING_STREAM", "stream"}, - {C_ENUM (GST_BUFFERING_DOWNLOAD), "GST_BUFFERING_DOWNLOAD", "download"}, - {C_ENUM (GST_BUFFERING_TIMESHIFT), "GST_BUFFERING_TIMESHIFT", "timeshift"}, - {C_ENUM (GST_BUFFERING_LIVE), "GST_BUFFERING_LIVE", "live"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstBufferingMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_scheduling_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_SCHEDULING_FLAG_SEEKABLE), "GST_SCHEDULING_FLAG_SEEKABLE", - "seekable"}, - {C_FLAGS (GST_SCHEDULING_FLAG_SEQUENTIAL), "GST_SCHEDULING_FLAG_SEQUENTIAL", - "sequential"}, - {C_FLAGS (GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED), - "GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED", "bandwidth-limited"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstSchedulingFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstsegment.h" */ -GType -gst_seek_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_SEEK_TYPE_NONE), "GST_SEEK_TYPE_NONE", "none"}, - {C_ENUM (GST_SEEK_TYPE_SET), "GST_SEEK_TYPE_SET", "set"}, - {C_ENUM (GST_SEEK_TYPE_END), "GST_SEEK_TYPE_END", "end"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstSeekType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_seek_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_SEEK_FLAG_NONE), "GST_SEEK_FLAG_NONE", "none"}, - {C_FLAGS (GST_SEEK_FLAG_FLUSH), "GST_SEEK_FLAG_FLUSH", "flush"}, - {C_FLAGS (GST_SEEK_FLAG_ACCURATE), "GST_SEEK_FLAG_ACCURATE", "accurate"}, - {C_FLAGS (GST_SEEK_FLAG_KEY_UNIT), "GST_SEEK_FLAG_KEY_UNIT", "key-unit"}, - {C_FLAGS (GST_SEEK_FLAG_SEGMENT), "GST_SEEK_FLAG_SEGMENT", "segment"}, - {C_FLAGS (GST_SEEK_FLAG_TRICKMODE), "GST_SEEK_FLAG_TRICKMODE", "trickmode"}, - {C_FLAGS (GST_SEEK_FLAG_SKIP), "GST_SEEK_FLAG_SKIP", "skip"}, - {C_FLAGS (GST_SEEK_FLAG_SNAP_BEFORE), "GST_SEEK_FLAG_SNAP_BEFORE", - "snap-before"}, - {C_FLAGS (GST_SEEK_FLAG_SNAP_AFTER), "GST_SEEK_FLAG_SNAP_AFTER", - "snap-after"}, - {C_FLAGS (GST_SEEK_FLAG_SNAP_NEAREST), "GST_SEEK_FLAG_SNAP_NEAREST", - "snap-nearest"}, - {C_FLAGS (GST_SEEK_FLAG_TRICKMODE_KEY_UNITS), - "GST_SEEK_FLAG_TRICKMODE_KEY_UNITS", "trickmode-key-units"}, - {C_FLAGS (GST_SEEK_FLAG_TRICKMODE_NO_AUDIO), - "GST_SEEK_FLAG_TRICKMODE_NO_AUDIO", "trickmode-no-audio"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstSeekFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_segment_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_SEGMENT_FLAG_NONE), "GST_SEGMENT_FLAG_NONE", "none"}, - {C_FLAGS (GST_SEGMENT_FLAG_RESET), "GST_SEGMENT_FLAG_RESET", "reset"}, - {C_FLAGS (GST_SEGMENT_FLAG_TRICKMODE), "GST_SEGMENT_FLAG_TRICKMODE", - "trickmode"}, - {C_FLAGS (GST_SEGMENT_FLAG_SKIP), "GST_SEGMENT_FLAG_SKIP", "skip"}, - {C_FLAGS (GST_SEGMENT_FLAG_SEGMENT), "GST_SEGMENT_FLAG_SEGMENT", "segment"}, - {C_FLAGS (GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS), - "GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS", "trickmode-key-units"}, - {C_FLAGS (GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO), - "GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO", "trickmode-no-audio"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstSegmentFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gststreams.h" */ -GType -gst_stream_type_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_STREAM_TYPE_UNKNOWN), "GST_STREAM_TYPE_UNKNOWN", "unknown"}, - {C_FLAGS (GST_STREAM_TYPE_AUDIO), "GST_STREAM_TYPE_AUDIO", "audio"}, - {C_FLAGS (GST_STREAM_TYPE_VIDEO), "GST_STREAM_TYPE_VIDEO", "video"}, - {C_FLAGS (GST_STREAM_TYPE_CONTAINER), "GST_STREAM_TYPE_CONTAINER", - "container"}, - {C_FLAGS (GST_STREAM_TYPE_TEXT), "GST_STREAM_TYPE_TEXT", "text"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstStreamType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstsystemclock.h" */ -GType -gst_clock_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_CLOCK_TYPE_REALTIME), "GST_CLOCK_TYPE_REALTIME", "realtime"}, - {C_ENUM (GST_CLOCK_TYPE_MONOTONIC), "GST_CLOCK_TYPE_MONOTONIC", - "monotonic"}, - {C_ENUM (GST_CLOCK_TYPE_OTHER), "GST_CLOCK_TYPE_OTHER", "other"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstClockType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsttaglist.h" */ -GType -gst_tag_merge_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TAG_MERGE_UNDEFINED), "GST_TAG_MERGE_UNDEFINED", "undefined"}, - {C_ENUM (GST_TAG_MERGE_REPLACE_ALL), "GST_TAG_MERGE_REPLACE_ALL", - "replace-all"}, - {C_ENUM (GST_TAG_MERGE_REPLACE), "GST_TAG_MERGE_REPLACE", "replace"}, - {C_ENUM (GST_TAG_MERGE_APPEND), "GST_TAG_MERGE_APPEND", "append"}, - {C_ENUM (GST_TAG_MERGE_PREPEND), "GST_TAG_MERGE_PREPEND", "prepend"}, - {C_ENUM (GST_TAG_MERGE_KEEP), "GST_TAG_MERGE_KEEP", "keep"}, - {C_ENUM (GST_TAG_MERGE_KEEP_ALL), "GST_TAG_MERGE_KEEP_ALL", "keep-all"}, - {C_ENUM (GST_TAG_MERGE_COUNT), "GST_TAG_MERGE_COUNT", "count"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTagMergeMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_tag_flag_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TAG_FLAG_UNDEFINED), "GST_TAG_FLAG_UNDEFINED", "undefined"}, - {C_ENUM (GST_TAG_FLAG_META), "GST_TAG_FLAG_META", "meta"}, - {C_ENUM (GST_TAG_FLAG_ENCODED), "GST_TAG_FLAG_ENCODED", "encoded"}, - {C_ENUM (GST_TAG_FLAG_DECODED), "GST_TAG_FLAG_DECODED", "decoded"}, - {C_ENUM (GST_TAG_FLAG_COUNT), "GST_TAG_FLAG_COUNT", "count"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTagFlag", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_tag_scope_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TAG_SCOPE_STREAM), "GST_TAG_SCOPE_STREAM", "stream"}, - {C_ENUM (GST_TAG_SCOPE_GLOBAL), "GST_TAG_SCOPE_GLOBAL", "global"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTagScope", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsttask.h" */ -GType -gst_task_state_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TASK_STARTED), "GST_TASK_STARTED", "started"}, - {C_ENUM (GST_TASK_STOPPED), "GST_TASK_STOPPED", "stopped"}, - {C_ENUM (GST_TASK_PAUSED), "GST_TASK_PAUSED", "paused"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTaskState", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsttoc.h" */ -GType -gst_toc_scope_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TOC_SCOPE_GLOBAL), "GST_TOC_SCOPE_GLOBAL", "global"}, - {C_ENUM (GST_TOC_SCOPE_CURRENT), "GST_TOC_SCOPE_CURRENT", "current"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTocScope", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_toc_entry_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TOC_ENTRY_TYPE_ANGLE), "GST_TOC_ENTRY_TYPE_ANGLE", "angle"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_VERSION), "GST_TOC_ENTRY_TYPE_VERSION", - "version"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_EDITION), "GST_TOC_ENTRY_TYPE_EDITION", - "edition"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_INVALID), "GST_TOC_ENTRY_TYPE_INVALID", - "invalid"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_TITLE), "GST_TOC_ENTRY_TYPE_TITLE", "title"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_TRACK), "GST_TOC_ENTRY_TYPE_TRACK", "track"}, - {C_ENUM (GST_TOC_ENTRY_TYPE_CHAPTER), "GST_TOC_ENTRY_TYPE_CHAPTER", - "chapter"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTocEntryType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_toc_loop_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TOC_LOOP_NONE), "GST_TOC_LOOP_NONE", "none"}, - {C_ENUM (GST_TOC_LOOP_FORWARD), "GST_TOC_LOOP_FORWARD", "forward"}, - {C_ENUM (GST_TOC_LOOP_REVERSE), "GST_TOC_LOOP_REVERSE", "reverse"}, - {C_ENUM (GST_TOC_LOOP_PING_PONG), "GST_TOC_LOOP_PING_PONG", "ping-pong"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTocLoopType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsttracerrecord.h" */ -GType -gst_tracer_value_scope_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TRACER_VALUE_SCOPE_PROCESS), "GST_TRACER_VALUE_SCOPE_PROCESS", - "process"}, - {C_ENUM (GST_TRACER_VALUE_SCOPE_THREAD), "GST_TRACER_VALUE_SCOPE_THREAD", - "thread"}, - {C_ENUM (GST_TRACER_VALUE_SCOPE_ELEMENT), "GST_TRACER_VALUE_SCOPE_ELEMENT", - "element"}, - {C_ENUM (GST_TRACER_VALUE_SCOPE_PAD), "GST_TRACER_VALUE_SCOPE_PAD", "pad"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTracerValueScope", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_tracer_value_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_TRACER_VALUE_FLAGS_NONE), "GST_TRACER_VALUE_FLAGS_NONE", - "none"}, - {C_FLAGS (GST_TRACER_VALUE_FLAGS_OPTIONAL), - "GST_TRACER_VALUE_FLAGS_OPTIONAL", "optional"}, - {C_FLAGS (GST_TRACER_VALUE_FLAGS_AGGREGATED), - "GST_TRACER_VALUE_FLAGS_AGGREGATED", "aggregated"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstTracerValueFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsttypefind.h" */ -GType -gst_type_find_probability_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_TYPE_FIND_NONE), "GST_TYPE_FIND_NONE", "none"}, - {C_ENUM (GST_TYPE_FIND_MINIMUM), "GST_TYPE_FIND_MINIMUM", "minimum"}, - {C_ENUM (GST_TYPE_FIND_POSSIBLE), "GST_TYPE_FIND_POSSIBLE", "possible"}, - {C_ENUM (GST_TYPE_FIND_LIKELY), "GST_TYPE_FIND_LIKELY", "likely"}, - {C_ENUM (GST_TYPE_FIND_NEARLY_CERTAIN), "GST_TYPE_FIND_NEARLY_CERTAIN", - "nearly-certain"}, - {C_ENUM (GST_TYPE_FIND_MAXIMUM), "GST_TYPE_FIND_MAXIMUM", "maximum"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstTypeFindProbability", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gsturi.h" */ -GType -gst_uri_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_URI_ERROR_UNSUPPORTED_PROTOCOL), - "GST_URI_ERROR_UNSUPPORTED_PROTOCOL", "unsupported-protocol"}, - {C_ENUM (GST_URI_ERROR_BAD_URI), "GST_URI_ERROR_BAD_URI", "bad-uri"}, - {C_ENUM (GST_URI_ERROR_BAD_STATE), "GST_URI_ERROR_BAD_STATE", "bad-state"}, - {C_ENUM (GST_URI_ERROR_BAD_REFERENCE), "GST_URI_ERROR_BAD_REFERENCE", - "bad-reference"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstURIError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_uri_type_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_URI_UNKNOWN), "GST_URI_UNKNOWN", "unknown"}, - {C_ENUM (GST_URI_SINK), "GST_URI_SINK", "sink"}, - {C_ENUM (GST_URI_SRC), "GST_URI_SRC", "src"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstURIType", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstutils.h" */ -GType -gst_search_mode_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_SEARCH_MODE_EXACT), "GST_SEARCH_MODE_EXACT", "exact"}, - {C_ENUM (GST_SEARCH_MODE_BEFORE), "GST_SEARCH_MODE_BEFORE", "before"}, - {C_ENUM (GST_SEARCH_MODE_AFTER), "GST_SEARCH_MODE_AFTER", "after"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstSearchMode", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -/* enumerations from "gstparse.h" */ -GType -gst_parse_error_get_type (void) -{ - static gsize id = 0; - static const GEnumValue values[] = { - {C_ENUM (GST_PARSE_ERROR_SYNTAX), "GST_PARSE_ERROR_SYNTAX", "syntax"}, - {C_ENUM (GST_PARSE_ERROR_NO_SUCH_ELEMENT), - "GST_PARSE_ERROR_NO_SUCH_ELEMENT", "no-such-element"}, - {C_ENUM (GST_PARSE_ERROR_NO_SUCH_PROPERTY), - "GST_PARSE_ERROR_NO_SUCH_PROPERTY", "no-such-property"}, - {C_ENUM (GST_PARSE_ERROR_LINK), "GST_PARSE_ERROR_LINK", "link"}, - {C_ENUM (GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY), - "GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY", "could-not-set-property"}, - {C_ENUM (GST_PARSE_ERROR_EMPTY_BIN), "GST_PARSE_ERROR_EMPTY_BIN", - "empty-bin"}, - {C_ENUM (GST_PARSE_ERROR_EMPTY), "GST_PARSE_ERROR_EMPTY", "empty"}, - {C_ENUM (GST_PARSE_ERROR_DELAYED_LINK), "GST_PARSE_ERROR_DELAYED_LINK", - "delayed-link"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_enum_register_static ("GstParseError", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} - -GType -gst_parse_flags_get_type (void) -{ - static gsize id = 0; - static const GFlagsValue values[] = { - {C_FLAGS (GST_PARSE_FLAG_NONE), "GST_PARSE_FLAG_NONE", "none"}, - {C_FLAGS (GST_PARSE_FLAG_FATAL_ERRORS), "GST_PARSE_FLAG_FATAL_ERRORS", - "fatal-errors"}, - {C_FLAGS (GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS), - "GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS", "no-single-element-bins"}, - {C_FLAGS (GST_PARSE_FLAG_PLACE_IN_BIN), "GST_PARSE_FLAG_PLACE_IN_BIN", - "place-in-bin"}, - {0, NULL, NULL} - }; - - if (g_once_init_enter (&id)) { - GType tmp = g_flags_register_static ("GstParseFlags", values); - g_once_init_leave (&id, tmp); - } - - return (GType) id; -} diff --git a/win32/common/gstenumtypes.h b/win32/common/gstenumtypes.h deleted file mode 100644 index 08d16c5953..0000000000 --- a/win32/common/gstenumtypes.h +++ /dev/null @@ -1,247 +0,0 @@ - - - -#ifndef __GST_ENUM_TYPES_H__ -#define __GST_ENUM_TYPES_H__ - -#include - -G_BEGIN_DECLS - -/* enumerations from "gstobject.h" */ -GType gst_object_flags_get_type (void); -#define GST_TYPE_OBJECT_FLAGS (gst_object_flags_get_type()) - -/* enumerations from "gstallocator.h" */ -GType gst_allocator_flags_get_type (void); -#define GST_TYPE_ALLOCATOR_FLAGS (gst_allocator_flags_get_type()) - -/* enumerations from "gstbin.h" */ -GType gst_bin_flags_get_type (void); -#define GST_TYPE_BIN_FLAGS (gst_bin_flags_get_type()) - -/* enumerations from "gstbuffer.h" */ -GType gst_buffer_flags_get_type (void); -#define GST_TYPE_BUFFER_FLAGS (gst_buffer_flags_get_type()) -GType gst_buffer_copy_flags_get_type (void); -#define GST_TYPE_BUFFER_COPY_FLAGS (gst_buffer_copy_flags_get_type()) - -/* enumerations from "gstbufferpool.h" */ -GType gst_buffer_pool_acquire_flags_get_type (void); -#define GST_TYPE_BUFFER_POOL_ACQUIRE_FLAGS (gst_buffer_pool_acquire_flags_get_type()) - -/* enumerations from "gstbus.h" */ -GType gst_bus_flags_get_type (void); -#define GST_TYPE_BUS_FLAGS (gst_bus_flags_get_type()) -GType gst_bus_sync_reply_get_type (void); -#define GST_TYPE_BUS_SYNC_REPLY (gst_bus_sync_reply_get_type()) - -/* enumerations from "gstcaps.h" */ -GType gst_caps_flags_get_type (void); -#define GST_TYPE_CAPS_FLAGS (gst_caps_flags_get_type()) -GType gst_caps_intersect_mode_get_type (void); -#define GST_TYPE_CAPS_INTERSECT_MODE (gst_caps_intersect_mode_get_type()) - -/* enumerations from "gstclock.h" */ -GType gst_clock_return_get_type (void); -#define GST_TYPE_CLOCK_RETURN (gst_clock_return_get_type()) -GType gst_clock_entry_type_get_type (void); -#define GST_TYPE_CLOCK_ENTRY_TYPE (gst_clock_entry_type_get_type()) -GType gst_clock_flags_get_type (void); -#define GST_TYPE_CLOCK_FLAGS (gst_clock_flags_get_type()) - -/* enumerations from "gstdebugutils.h" */ -GType gst_debug_graph_details_get_type (void); -#define GST_TYPE_DEBUG_GRAPH_DETAILS (gst_debug_graph_details_get_type()) - -/* enumerations from "gstelement.h" */ -GType gst_state_get_type (void); -#define GST_TYPE_STATE (gst_state_get_type()) -GType gst_state_change_return_get_type (void); -#define GST_TYPE_STATE_CHANGE_RETURN (gst_state_change_return_get_type()) -GType gst_state_change_get_type (void); -#define GST_TYPE_STATE_CHANGE (gst_state_change_get_type()) -GType gst_element_flags_get_type (void); -#define GST_TYPE_ELEMENT_FLAGS (gst_element_flags_get_type()) - -/* enumerations from "gsterror.h" */ -GType gst_core_error_get_type (void); -#define GST_TYPE_CORE_ERROR (gst_core_error_get_type()) -GType gst_library_error_get_type (void); -#define GST_TYPE_LIBRARY_ERROR (gst_library_error_get_type()) -GType gst_resource_error_get_type (void); -#define GST_TYPE_RESOURCE_ERROR (gst_resource_error_get_type()) -GType gst_stream_error_get_type (void); -#define GST_TYPE_STREAM_ERROR (gst_stream_error_get_type()) - -/* enumerations from "gstevent.h" */ -GType gst_event_type_flags_get_type (void); -#define GST_TYPE_EVENT_TYPE_FLAGS (gst_event_type_flags_get_type()) -GType gst_event_type_get_type (void); -#define GST_TYPE_EVENT_TYPE (gst_event_type_get_type()) -GType gst_stream_flags_get_type (void); -#define GST_TYPE_STREAM_FLAGS (gst_stream_flags_get_type()) -GType gst_qos_type_get_type (void); -#define GST_TYPE_QOS_TYPE (gst_qos_type_get_type()) - -/* enumerations from "gstformat.h" */ -GType gst_format_get_type (void); -#define GST_TYPE_FORMAT (gst_format_get_type()) - -/* enumerations from "gstinfo.h" */ -GType gst_debug_level_get_type (void); -#define GST_TYPE_DEBUG_LEVEL (gst_debug_level_get_type()) -GType gst_debug_color_flags_get_type (void); -#define GST_TYPE_DEBUG_COLOR_FLAGS (gst_debug_color_flags_get_type()) -GType gst_debug_color_mode_get_type (void); -#define GST_TYPE_DEBUG_COLOR_MODE (gst_debug_color_mode_get_type()) - -/* enumerations from "gstiterator.h" */ -GType gst_iterator_result_get_type (void); -#define GST_TYPE_ITERATOR_RESULT (gst_iterator_result_get_type()) -GType gst_iterator_item_get_type (void); -#define GST_TYPE_ITERATOR_ITEM (gst_iterator_item_get_type()) - -/* enumerations from "gstmessage.h" */ -GType gst_message_type_get_type (void); -#define GST_TYPE_MESSAGE_TYPE (gst_message_type_get_type()) -GType gst_structure_change_type_get_type (void); -#define GST_TYPE_STRUCTURE_CHANGE_TYPE (gst_structure_change_type_get_type()) -GType gst_stream_status_type_get_type (void); -#define GST_TYPE_STREAM_STATUS_TYPE (gst_stream_status_type_get_type()) -GType gst_progress_type_get_type (void); -#define GST_TYPE_PROGRESS_TYPE (gst_progress_type_get_type()) - -/* enumerations from "gstmeta.h" */ -GType gst_meta_flags_get_type (void); -#define GST_TYPE_META_FLAGS (gst_meta_flags_get_type()) - -/* enumerations from "gstmemory.h" */ -GType gst_memory_flags_get_type (void); -#define GST_TYPE_MEMORY_FLAGS (gst_memory_flags_get_type()) -GType gst_map_flags_get_type (void); -#define GST_TYPE_MAP_FLAGS (gst_map_flags_get_type()) - -/* enumerations from "gstminiobject.h" */ -GType gst_mini_object_flags_get_type (void); -#define GST_TYPE_MINI_OBJECT_FLAGS (gst_mini_object_flags_get_type()) -GType gst_lock_flags_get_type (void); -#define GST_TYPE_LOCK_FLAGS (gst_lock_flags_get_type()) - -/* enumerations from "gstpad.h" */ -GType gst_pad_direction_get_type (void); -#define GST_TYPE_PAD_DIRECTION (gst_pad_direction_get_type()) -GType gst_pad_mode_get_type (void); -#define GST_TYPE_PAD_MODE (gst_pad_mode_get_type()) -GType gst_pad_link_return_get_type (void); -#define GST_TYPE_PAD_LINK_RETURN (gst_pad_link_return_get_type()) -GType gst_flow_return_get_type (void); -#define GST_TYPE_FLOW_RETURN (gst_flow_return_get_type()) -GType gst_pad_link_check_get_type (void); -#define GST_TYPE_PAD_LINK_CHECK (gst_pad_link_check_get_type()) -GType gst_pad_probe_type_get_type (void); -#define GST_TYPE_PAD_PROBE_TYPE (gst_pad_probe_type_get_type()) -GType gst_pad_probe_return_get_type (void); -#define GST_TYPE_PAD_PROBE_RETURN (gst_pad_probe_return_get_type()) -GType gst_pad_flags_get_type (void); -#define GST_TYPE_PAD_FLAGS (gst_pad_flags_get_type()) - -/* enumerations from "gstpadtemplate.h" */ -GType gst_pad_presence_get_type (void); -#define GST_TYPE_PAD_PRESENCE (gst_pad_presence_get_type()) -GType gst_pad_template_flags_get_type (void); -#define GST_TYPE_PAD_TEMPLATE_FLAGS (gst_pad_template_flags_get_type()) - -/* enumerations from "gstpipeline.h" */ -GType gst_pipeline_flags_get_type (void); -#define GST_TYPE_PIPELINE_FLAGS (gst_pipeline_flags_get_type()) - -/* enumerations from "gstplugin.h" */ -GType gst_plugin_error_get_type (void); -#define GST_TYPE_PLUGIN_ERROR (gst_plugin_error_get_type()) -GType gst_plugin_flags_get_type (void); -#define GST_TYPE_PLUGIN_FLAGS (gst_plugin_flags_get_type()) -GType gst_plugin_dependency_flags_get_type (void); -#define GST_TYPE_PLUGIN_DEPENDENCY_FLAGS (gst_plugin_dependency_flags_get_type()) - -/* enumerations from "gstpluginfeature.h" */ -GType gst_rank_get_type (void); -#define GST_TYPE_RANK (gst_rank_get_type()) - -/* enumerations from "gstquery.h" */ -GType gst_query_type_flags_get_type (void); -#define GST_TYPE_QUERY_TYPE_FLAGS (gst_query_type_flags_get_type()) -GType gst_query_type_get_type (void); -#define GST_TYPE_QUERY_TYPE (gst_query_type_get_type()) -GType gst_buffering_mode_get_type (void); -#define GST_TYPE_BUFFERING_MODE (gst_buffering_mode_get_type()) -GType gst_scheduling_flags_get_type (void); -#define GST_TYPE_SCHEDULING_FLAGS (gst_scheduling_flags_get_type()) - -/* enumerations from "gstsegment.h" */ -GType gst_seek_type_get_type (void); -#define GST_TYPE_SEEK_TYPE (gst_seek_type_get_type()) -GType gst_seek_flags_get_type (void); -#define GST_TYPE_SEEK_FLAGS (gst_seek_flags_get_type()) -GType gst_segment_flags_get_type (void); -#define GST_TYPE_SEGMENT_FLAGS (gst_segment_flags_get_type()) - -/* enumerations from "gststreams.h" */ -GType gst_stream_type_get_type (void); -#define GST_TYPE_STREAM_TYPE (gst_stream_type_get_type()) - -/* enumerations from "gstsystemclock.h" */ -GType gst_clock_type_get_type (void); -#define GST_TYPE_CLOCK_TYPE (gst_clock_type_get_type()) - -/* enumerations from "gsttaglist.h" */ -GType gst_tag_merge_mode_get_type (void); -#define GST_TYPE_TAG_MERGE_MODE (gst_tag_merge_mode_get_type()) -GType gst_tag_flag_get_type (void); -#define GST_TYPE_TAG_FLAG (gst_tag_flag_get_type()) -GType gst_tag_scope_get_type (void); -#define GST_TYPE_TAG_SCOPE (gst_tag_scope_get_type()) - -/* enumerations from "gsttask.h" */ -GType gst_task_state_get_type (void); -#define GST_TYPE_TASK_STATE (gst_task_state_get_type()) - -/* enumerations from "gsttoc.h" */ -GType gst_toc_scope_get_type (void); -#define GST_TYPE_TOC_SCOPE (gst_toc_scope_get_type()) -GType gst_toc_entry_type_get_type (void); -#define GST_TYPE_TOC_ENTRY_TYPE (gst_toc_entry_type_get_type()) -GType gst_toc_loop_type_get_type (void); -#define GST_TYPE_TOC_LOOP_TYPE (gst_toc_loop_type_get_type()) - -/* enumerations from "gsttracerrecord.h" */ -GType gst_tracer_value_scope_get_type (void); -#define GST_TYPE_TRACER_VALUE_SCOPE (gst_tracer_value_scope_get_type()) -GType gst_tracer_value_flags_get_type (void); -#define GST_TYPE_TRACER_VALUE_FLAGS (gst_tracer_value_flags_get_type()) - -/* enumerations from "gsttypefind.h" */ -GType gst_type_find_probability_get_type (void); -#define GST_TYPE_TYPE_FIND_PROBABILITY (gst_type_find_probability_get_type()) - -/* enumerations from "gsturi.h" */ -GType gst_uri_error_get_type (void); -#define GST_TYPE_URI_ERROR (gst_uri_error_get_type()) -GType gst_uri_type_get_type (void); -#define GST_TYPE_URI_TYPE (gst_uri_type_get_type()) - -/* enumerations from "gstutils.h" */ -GType gst_search_mode_get_type (void); -#define GST_TYPE_SEARCH_MODE (gst_search_mode_get_type()) - -/* enumerations from "gstparse.h" */ -GType gst_parse_error_get_type (void); -#define GST_TYPE_PARSE_ERROR (gst_parse_error_get_type()) -GType gst_parse_flags_get_type (void); -#define GST_TYPE_PARSE_FLAGS (gst_parse_flags_get_type()) -G_END_DECLS - -#endif /* __GST_ENUM_TYPES_H__ */ - - - diff --git a/win32/common/gstversion.h b/win32/common/gstversion.h deleted file mode 100644 index d806dd17d0..0000000000 --- a/win32/common/gstversion.h +++ /dev/null @@ -1,91 +0,0 @@ -/* GStreamer - * Copyright (C) 1999,2000 Erik Walthinsen - * 2000 Wim Taymans - * - * gstversion.h: Version information for GStreamer - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __GST_VERSION_H__ -#define __GST_VERSION_H__ - -#include - -/** - * SECTION:gstversion - * @short_description: GStreamer version macros. - * - * Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer - * runtime checks if these plugin and core version match and refuses to use a - * plugin compiled against a different version of GStreamer. - * You can also use the macros to keep the GStreamer version information in - * your application. - * - * Use the gst_version() function if you want to know which version of - * GStreamer you are currently linked against. - * - * The version macros get defined by including "gst/gst.h". - */ - -G_BEGIN_DECLS - -/** - * GST_VERSION_MAJOR: - * - * The major version of GStreamer at compile time: - */ -#define GST_VERSION_MAJOR (1) -/** - * GST_VERSION_MINOR: - * - * The minor version of GStreamer at compile time: - */ -#define GST_VERSION_MINOR (10) -/** - * GST_VERSION_MICRO: - * - * The micro version of GStreamer at compile time: - */ -#define GST_VERSION_MICRO (0) -/** - * GST_VERSION_NANO: - * - * The nano version of GStreamer at compile time: - * Actual releases have 0, GIT versions have 1, prerelease versions have 2-... - */ -#define GST_VERSION_NANO (0) - -/** - * GST_CHECK_VERSION: - * @major: a number indicating the major version - * @minor: a number indicating the minor version - * @micro: a number indicating the micro version - * - * Check whether a GStreamer version equal to or greater than - * major.minor.micro is present. - */ -#define GST_CHECK_VERSION(major,minor,micro) \ - (GST_VERSION_MAJOR > (major) || \ - (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \ - (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \ - GST_VERSION_MICRO >= (micro)) || \ - (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \ - GST_VERSION_MICRO + 1 == (micro) && GST_VERSION_NANO > 0)) - -G_END_DECLS - -#endif /* __GST_VERSION_H__ */ -- 2.34.1