win32: update windows files via make win32-update

Updates win32 files using the new system/hook, and defines HAVE_PROCESS_H,
which fixes the build of pbutils on windows (#574319).
This commit is contained in:
Tim-Philipp Müller 2009-03-06 10:05:11 +00:00
parent 4a4791d1e3
commit 112aac3bde
8 changed files with 283 additions and 404 deletions

View file

@ -1,286 +1,9 @@
#ifndef _GST_PLUGINS_BASE__STDINT_H
#define _GST_PLUGINS_BASE__STDINT_H 1
#ifndef _GENERATED_STDINT_H
#define _GENERATED_STDINT_H "gst-plugins-base 0.10.3.1"
/* generated using gnu compiler gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) */
#define _GENERATED_STDINT_H "gst-plugins-base 0.10.22.1"
/* generated using gnu compiler gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2 */
#define _STDINT_HAVE_STDINT_H 1
/* ................... shortcircuit part ........................... */
#if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
#include <stdint.h>
#else
#include <stddef.h>
/* .................... configured part ............................ */
/* whether we have a C99 compatible stdint header file */
/* #undef _STDINT_HEADER_INTPTR */
/* whether we have a C96 compatible inttypes header file */
/* #undef _STDINT_HEADER_UINT32 */
/* whether we have a BSD compatible inet types header */
/* #undef _STDINT_HEADER_U_INT32 */
/* which 64bit typedef has been found */
/* #undef _STDINT_HAVE_UINT64_T */
/* #undef _STDINT_HAVE_U_INT64_T */
/* which type model has been detected */
/* #undef _STDINT_CHAR_MODEL // skipped */
/* #undef _STDINT_LONG_MODEL // skipped */
/* whether int_least types were detected */
/* #undef _STDINT_HAVE_INT_LEAST32_T */
/* whether int_fast types were detected */
/* #undef _STDINT_HAVE_INT_FAST32_T */
/* whether intmax_t type was detected */
/* #undef _STDINT_HAVE_INTMAX_T */
/* .................... detections part ............................ */
/* whether we need to define bitspecific types from compiler base types */
#ifndef _STDINT_HEADER_INTPTR
#ifndef _STDINT_HEADER_UINT32
#ifndef _STDINT_HEADER_U_INT32
#define _STDINT_NEED_INT_MODEL_T
#else
#define _STDINT_HAVE_U_INT_TYPES
#endif
#endif
#endif
#ifdef _STDINT_HAVE_U_INT_TYPES
#undef _STDINT_NEED_INT_MODEL_T
#endif
#ifdef _STDINT_CHAR_MODEL
#if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
#ifndef _STDINT_BYTE_MODEL
#define _STDINT_BYTE_MODEL 12
#endif
#endif
#endif
#ifndef _STDINT_HAVE_INT_LEAST32_T
#define _STDINT_NEED_INT_LEAST_T
#endif
#ifndef _STDINT_HAVE_INT_FAST32_T
#define _STDINT_NEED_INT_FAST_T
#endif
#ifndef _STDINT_HEADER_INTPTR
#define _STDINT_NEED_INTPTR_T
#ifndef _STDINT_HAVE_INTMAX_T
#define _STDINT_NEED_INTMAX_T
#endif
#endif
/* .................... definition part ............................ */
/* some system headers have good uint64_t */
#ifndef _HAVE_UINT64_T
#if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
#define _HAVE_UINT64_T
#elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
#define _HAVE_UINT64_T
typedef u_int64_t uint64_t;
#endif
#endif
#ifndef _HAVE_UINT64_T
/* .. here are some common heuristics using compiler runtime specifics */
#if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
#define _HAVE_UINT64_T
typedef long long int64_t;
typedef unsigned long long uint64_t;
#elif !defined __STRICT_ANSI__
#if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
#define _HAVE_UINT64_T
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
/* note: all ELF-systems seem to have loff-support which needs 64-bit */
#if !defined _NO_LONGLONG
#define _HAVE_UINT64_T
typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif
#elif defined __alpha || (defined __mips && defined _ABIN32)
#if !defined _NO_LONGLONG
typedef long int64_t;
typedef unsigned long uint64_t;
#endif
/* compiler/cpu type to define int64_t */
#endif
#endif
#endif
#if defined _STDINT_HAVE_U_INT_TYPES
/* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
typedef u_int8_t uint8_t;
typedef u_int16_t uint16_t;
typedef u_int32_t uint32_t;
/* glibc compatibility */
#ifndef __int8_t_defined
#define __int8_t_defined
#endif
#endif
#ifdef _STDINT_NEED_INT_MODEL_T
/* we must guess all the basic types. Apart from byte-adressable system, */
/* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
/* (btw, those nibble-addressable systems are way off, or so we assume) */
#if defined _STDINT_BYTE_MODEL
#if _STDINT_LONG_MODEL+0 == 242
/* 2:4:2 = IP16 = a normal 16-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned long uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef long int32_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
/* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
/* 4:4:4 = ILP32 = a normal 32-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
/* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
/* 4:8:8 = LP64 = a normal 64-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
/* this system has a "long" of 64bit */
#ifndef _HAVE_UINT64_T
#define _HAVE_UINT64_T
typedef unsigned long uint64_t;
typedef long int64_t;
#endif
#elif _STDINT_LONG_MODEL+0 == 448
/* LLP64 a 64-bit system derived from a 32-bit system */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
#ifndef __int8_t_defined
#define __int8_t_defined
typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
#endif
/* assuming the system has a "long long" */
#ifndef _HAVE_UINT64_T
#define _HAVE_UINT64_T
typedef unsigned long long uint64_t;
typedef long long int64_t;
#endif
#else
#define _STDINT_NO_INT32_T
#endif
#else
#define _STDINT_NO_INT8_T
#define _STDINT_NO_INT32_T
#endif
#endif
/*
* quote from SunOS-5.8 sys/inttypes.h:
* Use at your own risk. As of February 1996, the committee is squarely
* behind the fixed sized types; the "least" and "fast" types are still being
* discussed. The probability that the "fast" types may be removed before
* the standard is finalized is high enough that they are not currently
* implemented.
*/
#if defined _STDINT_NEED_INT_LEAST_T
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
#ifdef _HAVE_UINT64_T
typedef int64_t int_least64_t;
#endif
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
#ifdef _HAVE_UINT64_T
typedef uint64_t uint_least64_t;
#endif
/* least types */
#endif
#if defined _STDINT_NEED_INT_FAST_T
typedef int8_t int_fast8_t;
typedef int int_fast16_t;
typedef int32_t int_fast32_t;
#ifdef _HAVE_UINT64_T
typedef int64_t int_fast64_t;
#endif
typedef uint8_t uint_fast8_t;
typedef unsigned uint_fast16_t;
typedef uint32_t uint_fast32_t;
#ifdef _HAVE_UINT64_T
typedef uint64_t uint_fast64_t;
#endif
/* fast types */
#endif
#ifdef _STDINT_NEED_INTMAX_T
#ifdef _HAVE_UINT64_T
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#else
typedef long intmax_t;
typedef unsigned long uintmax_t;
#endif
#endif
#ifdef _STDINT_NEED_INTPTR_T
#ifndef __intptr_t_defined
#define __intptr_t_defined
/* we encourage using "long" to store pointer values, never use "int" ! */
#if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
typedef unsinged int uintptr_t;
typedef int intptr_t;
#elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
typedef unsigned long uintptr_t;
typedef long intptr_t;
#elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
typedef uint64_t uintptr_t;
typedef int64_t intptr_t;
#else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
typedef unsigned long uintptr_t;
typedef long intptr_t;
#endif
#endif
#endif
/* shortcircuit*/
#endif
/* once */
#endif
#endif

View file

@ -1,5 +1,19 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* This copy of config.h.in is specifically for win32 Visual Studio builds */
/* Autogenerated config.h created for win32 Visual Studio builds */
/* PREFIX -- specifically added for Windows for easier moving */
#define PREFIX "C:\\gstreamer"
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"
/* The implementation that should be used for integer audio resampling witll
be benchmarked at runtime */
#undef AUDIORESAMPLE_FORMAT_AUTO
/* The float implementation should be used for integer audio resampling */
#undef AUDIORESAMPLE_FORMAT_FLOAT
/* The int implementation should be used for integer audio resampling */
#undef AUDIORESAMPLE_FORMAT_INT
/* defined if cdda headers are in a cdda/ directory */
#undef CDPARANOIA_HEADERS_IN_DIR
@ -26,11 +40,26 @@
/* gettext package name */
#define GETTEXT_PACKAGE "gst-plugins-base-0.10"
/* The GIO library directory. */
#undef GIO_LIBDIR
/* The GIO modules directory. */
#undef GIO_MODULE_DIR
/* The GnomeVFS modules directory. */
#undef GNOME_VFS_MODULES_DIR
/* 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
/* plugin install helper script */
#undef GST_INSTALL_PLUGINS_HELPER
/* Default errorlevel to use */
#undef GST_LEVEL_DEFAULT
#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR
/* GStreamer license */
#define GST_LICENSE "LGPL"
@ -41,23 +70,37 @@
/* package origin */
#define GST_PACKAGE_ORIGIN "Unknown package origin"
/* support for features: gstalsa */
/* Define to enable ALSA (used by alsa). */
#undef HAVE_ALSA
/* support for features: cdparanoia */
/* Define to enable CDParanoia (used by cdparanoia). */
#undef HAVE_CDPARANOIA
/* 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
/* Define if the host CPU is an Alpha */
#undef HAVE_CPU_ALPHA
/* Define if the host CPU is an ARM */
#undef HAVE_CPU_ARM
/* Define if the host CPU is a CRIS */
#undef HAVE_CPU_CRIS
/* Define if the host CPU is a CRISv32 */
#undef HAVE_CPU_CRISV32
/* Define if the host CPU is a HPPA */
#undef HAVE_CPU_HPPA
/* Define if the host CPU is an x86 */
#undef HAVE_CPU_I386
#define HAVE_CPU_I386 1
/* Define if the host CPU is a IA64 */
#undef HAVE_CPU_IA64
@ -71,6 +114,9 @@
/* Define if the host CPU is a PowerPC */
#undef HAVE_CPU_PPC
/* Define if the host CPU is a 64 bit PowerPC */
#undef HAVE_CPU_PPC64
/* Define if the host CPU is a S390 */
#undef HAVE_CPU_S390
@ -87,7 +133,10 @@
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* support for features: */
/* Define to enable building of experimental plug-ins. */
#undef HAVE_EXPERIMENTAL
/* Define to enable building of plug-ins with external deps. */
#undef HAVE_EXTERNAL
/* FIONREAD ioctl found in sys/filio.h */
@ -96,6 +145,9 @@
/* FIONREAD ioctl found in sys/ioclt.h */
#undef HAVE_FIONREAD_IN_SYS_IOCTL
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#undef HAVE_FSEEKO
/* defined if the compiler implements __func__ */
#undef HAVE_FUNC
@ -105,13 +157,19 @@
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* support for features: gnomevfssrc */
/* Define to enable GIO library (used by gio). */
#undef HAVE_GIO
/* Define to 1 if you have the `gmtime_r' function. */
#undef HAVE_GMTIME_R
/* Define to enable GNOME VFS (used by gnomevfs). */
#undef HAVE_GNOME_VFS
/* support for features: v4lsrc v4lmjpegsrc v4lmjpegsink */
/* Define to enable Video 4 Linux (used by video4linux). */
#undef HAVE_GST_V4L
/* Define if you have the iconv() function. */
/* Define if you have the iconv() function and it works. */
#undef HAVE_ICONV
/* Define to 1 if you have the <inttypes.h> header file. */
@ -120,9 +178,21 @@
/* Define to 1 if you have the `asound' library (-lasound). */
#undef HAVE_LIBASOUND
/* support for features: libvisual */
/* Define to 1 if you have the `nsl' library (-lnsl). */
#undef HAVE_LIBNSL
/* Define to 1 if you have the `resolv' library (-lresolv). */
#undef HAVE_LIBRESOLV
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to enable libvisual visualization library (used by libvisual). */
#undef HAVE_LIBVISUAL
/* Define to 1 if you have the `localtime_r' function. */
#undef HAVE_LOCALTIME_R
/* Define if you have C99's lrint function. */
#undef HAVE_LRINT
@ -135,15 +205,18 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* support for features: oggdemux oggmux */
/* Define to enable Xiph Ogg library (used by ogg). */
#undef HAVE_OGG
/* support for features: pango */
/* Define to enable Pango font rendering (used by pango). */
#undef HAVE_PANGO
/* defined if the compiler implements __PRETTY_FUNCTION__ */
#undef HAVE_PRETTY_FUNCTION
/* Define to 1 if you have the <process.h> header file. */
#define HAVE_PROCESS_H 1
/* Define if RDTSC is available */
#undef HAVE_RDTSC
@ -166,12 +239,15 @@
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
#define HAVE_SYS_TYPES_H 1
/* support for features: theoradec theoraenc */
/* Define to 1 if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define to enable Xiph Theora video codec (used by theora). */
#undef HAVE_THEORA
/* Define to 1 if you have the <unistd.h> header file. */
@ -180,24 +256,43 @@
/* Define if valgrind should be used */
#undef HAVE_VALGRIND
/* support for features: vorbisenc vorbisdec */
/* Define to enable Xiph Vorbis audio codec (used by vorbis). */
#undef HAVE_VORBIS
/* defined if vorbis_synthesis_restart is present */
#undef HAVE_VORBIS_SYNTHESIS_RESTART
/* support for features: ximagesink */
/* Define to 1 if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H 1
/* Define to enable X libraries and plugins (used by ximagesink). */
#undef HAVE_X
/* support for features: xshm */
/* Define to enable X Shared Memory extension. */
#undef HAVE_XSHM
/* support for features: xvimagesink */
/* Define to enable X11 XVideo extensions (used by xvimagesink). */
#undef HAVE_XVIDEO
/* the host CPU */
#define HOST_CPU "i686"
/* directory in which the detected libvisual's plugins are located */
#undef LIBVISUAL_PLUGINSBASEDIR
/* gettext locale dir */
#define LOCALEDIR PREFIX "\\share\\locale"
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
/* Define if you have no native hstrerror() function. */
#undef NO_HSTRERROR
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
/* Name of package */
#define PACKAGE "gst-plugins-base"
@ -217,21 +312,25 @@
#define PACKAGE_VERSION "0.10.22.1"
/* directory where plugins are located */
#undef PLUGINDIR
#ifdef _DEBUG
# define PLUGINDIR PREFIX "\\debug\\lib\\gstreamer-0.10"
#else
# define PLUGINDIR PREFIX "\\lib\\gstreamer-0.10"
#endif
/* The size of a `char', as computed by sizeof. */
/* The size of `char', as computed by sizeof. */
#undef SIZEOF_CHAR
/* The size of a `int', as computed by sizeof. */
/* The size of `int', as computed by sizeof. */
#undef SIZEOF_INT
/* The size of a `long', as computed by sizeof. */
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of a `short', as computed by sizeof. */
/* The size of `short', as computed by sizeof. */
#undef SIZEOF_SHORT
/* The size of a `void*', as computed by sizeof. */
/* The size of `void*', as computed by sizeof. */
#undef SIZEOF_VOIDP
/* Define to 1 if you have the ANSI C header files. */
@ -247,15 +346,17 @@
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
/* 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
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif
/* PREFIX - specifically added for Windows for easier moving (same as in core) */
#define PREFIX "C:\\gstreamer"
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"

View file

@ -10,7 +10,6 @@ GType
gst_rtsp_result_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_OK, "GST_RTSP_OK", "ok"},
@ -28,6 +27,8 @@ gst_rtsp_result_get_type (void)
{GST_RTSP_ENET, "GST_RTSP_ENET", "enet"},
{GST_RTSP_ENOTIP, "GST_RTSP_ENOTIP", "enotip"},
{GST_RTSP_ETIMEOUT, "GST_RTSP_ETIMEOUT", "etimeout"},
{GST_RTSP_ETGET, "GST_RTSP_ETGET", "etget"},
{GST_RTSP_ETPOST, "GST_RTSP_ETPOST", "etpost"},
{GST_RTSP_ELAST, "GST_RTSP_ELAST", "elast"},
{0, NULL, NULL}
};
@ -40,7 +41,6 @@ GType
gst_rtsp_event_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_RTSP_EV_READ, "GST_RTSP_EV_READ", "read"},
@ -56,7 +56,6 @@ GType
gst_rtsp_family_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_FAM_NONE, "GST_RTSP_FAM_NONE", "none"},
@ -73,7 +72,6 @@ GType
gst_rtsp_state_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_STATE_INVALID, "GST_RTSP_STATE_INVALID", "invalid"},
@ -93,7 +91,6 @@ GType
gst_rtsp_version_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_VERSION_INVALID, "GST_RTSP_VERSION_INVALID", "invalid"},
@ -109,7 +106,6 @@ GType
gst_rtsp_method_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_RTSP_INVALID, "GST_RTSP_INVALID", "invalid"},
@ -135,7 +131,6 @@ GType
gst_rtsp_auth_method_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_AUTH_NONE, "GST_RTSP_AUTH_NONE", "none"},
@ -152,7 +147,6 @@ GType
gst_rtsp_header_field_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_HDR_INVALID, "GST_RTSP_HDR_INVALID", "invalid"},
@ -239,7 +233,6 @@ GType
gst_rtsp_status_code_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_RTSP_STS_INVALID, "GST_RTSP_STS_INVALID", "invalid"},

View file

@ -21,7 +21,6 @@ GType
gst_color_balance_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_COLOR_BALANCE_HARDWARE, "GST_COLOR_BALANCE_HARDWARE", "hardware"},
@ -38,7 +37,6 @@ GType
gst_mixer_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_MIXER_HARDWARE, "GST_MIXER_HARDWARE", "hardware"},
@ -54,7 +52,6 @@ GType
gst_mixer_message_type_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_MIXER_MESSAGE_INVALID, "GST_MIXER_MESSAGE_INVALID", "invalid"},
@ -66,6 +63,10 @@ gst_mixer_message_type_get_type (void)
"volume-changed"},
{GST_MIXER_MESSAGE_OPTION_CHANGED, "GST_MIXER_MESSAGE_OPTION_CHANGED",
"option-changed"},
{GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED,
"GST_MIXER_MESSAGE_OPTIONS_LIST_CHANGED", "options-list-changed"},
{GST_MIXER_MESSAGE_MIXER_CHANGED, "GST_MIXER_MESSAGE_MIXER_CHANGED",
"mixer-changed"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstMixerMessageType", values);
@ -77,12 +78,14 @@ GType
gst_mixer_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_MIXER_FLAG_NONE, "GST_MIXER_FLAG_NONE", "none"},
{GST_MIXER_FLAG_AUTO_NOTIFICATIONS, "GST_MIXER_FLAG_AUTO_NOTIFICATIONS",
"auto-notifications"},
{GST_MIXER_FLAG_HAS_WHITELIST, "GST_MIXER_FLAG_HAS_WHITELIST",
"has-whitelist"},
{GST_MIXER_FLAG_GROUPING, "GST_MIXER_FLAG_GROUPING", "grouping"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstMixerFlags", values);
@ -95,7 +98,6 @@ GType
gst_mixer_track_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_MIXER_TRACK_INPUT, "GST_MIXER_TRACK_INPUT", "input"},
@ -104,6 +106,9 @@ gst_mixer_track_flags_get_type (void)
{GST_MIXER_TRACK_RECORD, "GST_MIXER_TRACK_RECORD", "record"},
{GST_MIXER_TRACK_MASTER, "GST_MIXER_TRACK_MASTER", "master"},
{GST_MIXER_TRACK_SOFTWARE, "GST_MIXER_TRACK_SOFTWARE", "software"},
{GST_MIXER_TRACK_NO_RECORD, "GST_MIXER_TRACK_NO_RECORD", "no-record"},
{GST_MIXER_TRACK_NO_MUTE, "GST_MIXER_TRACK_NO_MUTE", "no-mute"},
{GST_MIXER_TRACK_WHITELIST, "GST_MIXER_TRACK_WHITELIST", "whitelist"},
{0, NULL, NULL}
};
etype = g_flags_register_static ("GstMixerTrackFlags", values);
@ -116,7 +121,6 @@ GType
gst_tuner_channel_flags_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GFlagsValue values[] = {
{GST_TUNER_CHANNEL_INPUT, "GST_TUNER_CHANNEL_INPUT", "input"},

View file

@ -13,7 +13,6 @@ GType
gst_install_plugins_return_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_INSTALL_PLUGINS_SUCCESS, "GST_INSTALL_PLUGINS_SUCCESS", "success"},

View file

@ -0,0 +1,40 @@
/* Generated data (by glib-mkenums) */
#include "video-enumtypes.h"
#include "video.h"
/* enumerations from "video.h" */
GType
gst_video_format_get_type (void)
{
static GType etype = 0;
if (etype == 0) {
static const GEnumValue values[] = {
{GST_VIDEO_FORMAT_UNKNOWN, "GST_VIDEO_FORMAT_UNKNOWN", "unknown"},
{GST_VIDEO_FORMAT_I420, "GST_VIDEO_FORMAT_I420", "i420"},
{GST_VIDEO_FORMAT_YV12, "GST_VIDEO_FORMAT_YV12", "yv12"},
{GST_VIDEO_FORMAT_YUY2, "GST_VIDEO_FORMAT_YUY2", "yuy2"},
{GST_VIDEO_FORMAT_UYVY, "GST_VIDEO_FORMAT_UYVY", "uyvy"},
{GST_VIDEO_FORMAT_AYUV, "GST_VIDEO_FORMAT_AYUV", "ayuv"},
{GST_VIDEO_FORMAT_RGBx, "GST_VIDEO_FORMAT_RGBx", "rgbx"},
{GST_VIDEO_FORMAT_BGRx, "GST_VIDEO_FORMAT_BGRx", "bgrx"},
{GST_VIDEO_FORMAT_xRGB, "GST_VIDEO_FORMAT_xRGB", "xrgb"},
{GST_VIDEO_FORMAT_xBGR, "GST_VIDEO_FORMAT_xBGR", "xbgr"},
{GST_VIDEO_FORMAT_RGBA, "GST_VIDEO_FORMAT_RGBA", "rgba"},
{GST_VIDEO_FORMAT_BGRA, "GST_VIDEO_FORMAT_BGRA", "bgra"},
{GST_VIDEO_FORMAT_ARGB, "GST_VIDEO_FORMAT_ARGB", "argb"},
{GST_VIDEO_FORMAT_ABGR, "GST_VIDEO_FORMAT_ABGR", "abgr"},
{GST_VIDEO_FORMAT_RGB, "GST_VIDEO_FORMAT_RGB", "rgb"},
{GST_VIDEO_FORMAT_BGR, "GST_VIDEO_FORMAT_BGR", "bgr"},
{GST_VIDEO_FORMAT_Y41B, "GST_VIDEO_FORMAT_Y41B", "y41b"},
{GST_VIDEO_FORMAT_Y42B, "GST_VIDEO_FORMAT_Y42B", "y42b"},
{0, NULL, NULL}
};
etype = g_enum_register_static ("GstVideoFormat", values);
}
return etype;
}
/* Generated data ends here */

View file

@ -0,0 +1,19 @@
/* Generated data (by glib-mkenums) */
#ifndef __GST_VIDEO_ENUM_TYPES_H__
#define __GST_VIDEO_ENUM_TYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/* enumerations from "video.h" */
GType gst_video_format_get_type (void);
#define GST_TYPE_VIDEO_FORMAT (gst_video_format_get_type())
G_END_DECLS
#endif /* __GST_VIDEO_ENUM_TYPES_H__ */
/* Generated data ends here */