mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
d10158fcb5
Original commit message from CVS: * configure.ac: Add test for allowing unaligned access. Add define to put in gstconfig.h. * docs/gst/gstreamer-sections.txt: New symbols * docs/gst/tmpl/gstcompat.sgml: Check in changes made by gtkdoc * docs/gst/tmpl/gstfilesrc.sgml: * docs/gst/tmpl/gstparse.sgml: * docs/gst/tmpl/gsttypes.sgml: * docs/gst/tmpl/gstutils.sgml: * docs/gst/tmpl/gstvalue.sgml: * gst/gstconfig.h.in: Add GST_HAVE_UNALIGNED_ACCESS * gst/gstutils.h: Add macros for unaligned memory access. Useful on most !i386/!powerpc architectures. From Daniel Gazard <daniel.gazard@free.fr>. (bug #140156) * po/af.po: Check in changes made by gettext. * po/az.po: * po/fr.po: * po/nl.po: * po/sr.po: * po/sv.po:
70 lines
1.6 KiB
C
70 lines
1.6 KiB
C
/* This header interprets the various GST_* macros that are typically *
|
|
* provided by the gstreamer-config or gstreamer.pc files. */
|
|
|
|
#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_TRACE 1
|
|
#define GST_DISABLE_ALLOC_TRACE 1
|
|
#define GST_DISABLE_REGISTRY 1
|
|
#define GST_DISABLE_ENUMTYPES 1
|
|
#define GST_DISABLE_INDEX 1
|
|
#define GST_DISABLE_PLUGIN 1
|
|
#define GST_DISABLE_URI 1
|
|
#endif
|
|
|
|
|
|
/***** disabling of subsystems *****/
|
|
|
|
/* wether or not the debugging subsystem is enabled */
|
|
@GST_DISABLE_GST_DEBUG_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_LOADSAVE_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_PARSE_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_TRACE_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_ALLOC_TRACE_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_REGISTRY_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_ENUMTYPES_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_INDEX_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_PLUGIN_DEFINE@
|
|
|
|
/* DOES NOT WORK */
|
|
@GST_DISABLE_URI_DEFINE@
|
|
|
|
/* printf extension format */
|
|
@GST_PRINTF_EXTENSION_FORMAT_DEFINE@
|
|
|
|
/* whether or not the CPU supports unaligned access */
|
|
@GST_HAVE_UNALIGNED_ACCESS_DEFINE@
|
|
|
|
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
|
|
|
|
#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
|
|
# include <libxml/parser.h>
|
|
#else
|
|
# define GST_DISABLE_LOADSAVE_REGISTRY
|
|
#endif
|
|
|
|
#endif /* __GST_CONFIG_H__ */
|