summaryrefslogtreecommitdiff
path: root/gst/gstconfig.h.in
AgeCommit message (Collapse)AuthorFilesLines
2008-07-31Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.Sebastian Dröge1-13/+0
Original commit message from CVS: * configure.ac: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types: * docs/gst/gstreamer.types.in: * gst/Makefile.am: * gst/gst.c: * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func): * gst/gstconfig.h.in: * gst/gstelement.c: (gst_element_get_index): * gst/gstregistrybinary.c: (gst_registry_binary_save_feature), (gst_registry_binary_load_feature), (gst_registry_binary_read_cache): * gst/gstregistryxml.c: (load_feature), (gst_registry_xml_read_cache), (gst_registry_xml_save_feature): * plugins/Makefile.am: * tools/gst-indent: * tools/gst-inspect.c: (print_index_info), (print_element_list), (print_plugin_features), (print_element_features): * tools/gst-xmlinspect.c: (print_event_masks), (print_element_info): * win32/common/gstconfig.h: Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere. Disabling the indexers and URI handler code will only reduce the required amount of memory by a very small amount but on the other hand requires much more maintaince work. Apart from that many places of code are broken when disabling them. Disabling the enum types doesn't reduce the required amount of memory by more than a few bytes and makes it hard to fix bugs like #539772, i.e. use the enums as GObject properties.
2008-03-07Move registry backend API to private headers where we can. Add fixme-0.11 ↵Stefan Kost1-2/+0
comments for the others. Add stubs for the ... Original commit message from CVS: * configure.ac: * gst/gst_private.h: * gst/gstconfig.h.in: * gst/gstregistry.h: * gst/gstregistrybinary.c: * win32/common/gstconfig.h: Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the xml backend when using the binary to ensure they functions exists (they should not be used though). Fixes #520756.
2008-03-03Fix broken use of config.h-defined preprocessor directive in a public header ↵Tim-Philipp Müller1-1/+3
file. Add a corresponding define to gstc... Original commit message from CVS: * configure.ac: * gst/gstconfig.h.in: * gst/gstregistry.h: Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstconfig.h, since we can't really remove those function declarations from the header file now (or can we? and why are they there in the first place?).
2008-02-29Correct all relevant warnings found by the sparse semantic code analyzer. ↵Sebastian Dröge1-1/+1
This include marking several symbols static... Original commit message from CVS: * gst/gstconfig.h.in: * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer): * libs/gst/check/gstcheck.c: (gst_check_log_message_func), (gst_check_log_critical_func), (gst_check_drop_buffers), (gst_check_element_push_buffer_list): * libs/gst/controller/gstcontroller.c: (gst_controller_get), (gst_controller_get_type): * libs/gst/controller/gsthelper.c: (gst_object_control_properties), (gst_object_get_controller), (gst_object_get_control_source): * libs/gst/controller/gstinterpolationcontrolsource.c: (gst_interpolation_control_source_new): * libs/gst/controller/gstlfocontrolsource.c: (gst_lfo_control_source_new): * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_event_from_packet_0_2): * plugins/elements/gstfdsrc.c: * plugins/elements/gstmultiqueue.c: * plugins/elements/gsttee.c: * plugins/elements/gsttypefindelement.c: * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml), (gst_file_index_add_association): * plugins/indexers/gstmemindex.c: * tests/benchmarks/gstpollstress.c: (mess_some_more): * tests/check/elements/queue.c: (setup_queue): * tests/check/gst/gstpipeline.c: * tests/check/libs/collectpads.c: (setup), (teardown), (gst_collect_pads_suite): * tests/examples/adapter/adapter_test.c: * tests/examples/metadata/read-metadata.c: (make_pipeline): * tests/examples/xml/createxml.c: * tests/examples/xml/runxml.c: * tools/gst-inspect.c: * tools/gst-run.c: Correct all relevant warnings found by the sparse semantic code analyzer. This include marking several symbols static, using NULL instead of 0 for pointers, not using variable sized arrays on the stack, moving variable declarations to the beginning of a block and using "foo (void)" instead of "foo ()" for declarations.
2008-02-06gst/gstconfig.h.in: Add 'id' for example.Stefan Kost1-1/+1
Original commit message from CVS: * gst/gstconfig.h.in: Add 'id' for example. * gst/gstpad.c: * gst/gstutils.c: * plugins/elements/gstfdsink.c: Link to signals. Doc and comment fixes.
2007-04-202nd attempt to have a xml-less build as a joined effort of #413123 and #421480.Stefan Kost1-8/+20
Original commit message from CVS: * configure.ac: * docs/gst/gstreamer-sections.txt: * gst/Makefile.am: * gst/gstconfig.h.in: * gst/gstobject.c: (gst_object_class_init), (gst_signal_object_class_init): * gst/gstobject.h: 2nd attempt to have a xml-less build as a joined effort of #413123 and #421480.
2007-04-17gst/gstconfig.h.in: Revert previous change that broke the build.Wim Taymans1-6/+1
Original commit message from CVS: * gst/gstconfig.h.in: Revert previous change that broke the build.
2007-04-17Drop libxml2 dependency when building withStefan Kost1-1/+6
Original commit message from CVS: * configure.ac: * gst/Makefile.am: * gst/gstconfig.h.in: Drop libxml2 dependency when building with --enable-binary-registry --disable-loadsave
2007-01-05gst/: On win32, all the __declspec stuff for symbol exporting is apparently ↵Vincent Torri1-2/+2
only needed with MSVC, but doesn't work w... Original commit message from CVS: Patch by: Vincent Torri <vtorri at univ-evry dot fr> * gst/gst_private.h: * gst/gstconfig.h.in: * gst/gstinfo.h: On win32, all the __declspec stuff for symbol exporting is apparently only needed with MSVC, but doesn't work with MingW. Fixes compilation with MingW and #391909.
2006-10-05Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can ↵Tim-Philipp Müller1-0/+5
use G_GNUC_PRINTF in other header files ... Original commit message from CVS: * configure.ac: * docs/gst/gstreamer-sections.txt: * gst/gstconfig.h.in: * gst/gstelement.h: * gst/gstinfo.h: Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files and at least check the printf format/arguments of debug messages and GST_ELEMENT_ERROR messages when the printf extension is not being used. Replace more tabs with spaces in gstinfo.h and remove two spurious function declarations in GST_DISABLE_DEBUG part with macros.
2006-08-09API: add GST_SEGMENT_FORMAT, which is a printf extension we register that ↵Tim-Philipp Müller1-1/+10
lets us easily dump GstSegments into debug ... Original commit message from CVS: * configure.ac: * docs/gst/gstreamer-sections.txt: * gst/gstconfig.h.in: * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment), (_gst_info_printf_extension_ptr), (_gst_info_printf_extension_segment): API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us easily dump GstSegments into debug logs (#350419). * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func), (info_segment_format_printf_extension), (gst_info_suite): Add simple unit test that logs a bunch of different segments (not valgrinded at the moment because of leaks in gst_debug_add_log_function).
2006-07-10More docs for configuration options, add docs to gtk-doc.Stefan Kost1-13/+35
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstconfig.h.in: More docs for configuration options, add docs to gtk-doc.
2006-07-10Fix build when disabling tracing (fixes #344016). Also start to document the ↵Stefan Kost1-6/+15
defines that disable the sub-systems. Original commit message from CVS: * gst/Makefile.am: * gst/gstconfig.h.in: * win32/common/config.h: Fix build when disabling tracing (fixes #344016). Also start to document the defines that disable the sub-systems.
2005-11-29libs/gst/base/: en-LARGE the padding.Andy Wingo1-0/+3
Original commit message from CVS: 2005-11-29 Andy Wingo <wingo@pobox.com> * libs/gst/base/gstbasetransform.h: * libs/gst/base/gstbasesrc.h: * libs/gst/base/gstbasesink.h: en-LARGE the padding. * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number of pointers by which to pad very extensible base classes (like the ones in libs/gst/base).
2005-10-15various style fixesThomas Vander Stichele1-3/+3
Original commit message from CVS: various style fixes
2005-10-12layout cleanupThomas Vander Stichele1-9/+11
Original commit message from CVS: layout cleanup
2005-09-22gst/gstconfig.h.in: Psych out gtk-doc.Andy Wingo1-0/+1
Original commit message from CVS: 2005-09-22 Andy Wingo <wingo@pobox.com> * gst/gstconfig.h.in: Psych out gtk-doc. * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8. * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests. * tools/gst-inspect.c (print_element_list): Plug some inconsequential leaks. * gst/gstregistry.c (gst_registry_get_default): Doc. * gst/gsttypefindfactory.c (gst_type_find_factory_call_function): * gst/gstelementfactory.c (gst_element_factory_create): * gst/gstindexfactory.c (gst_index_factory_create): Update for refcount changes. * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc. (gst_plugin_feature_load): Doc, don't eat refs. * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs. (gst_plugin_list_free): Doc. (gst_plugin_load_file): Doc updates.
2005-09-20gst/gstelementfactory.c (gst_element_factory_create): Avoid eating the ↵Andy Wingo1-0/+4
caller's refcount. Original commit message from CVS: 2005-09-20 Andy Wingo <wingo@pobox.com> * gst/gstelementfactory.c (gst_element_factory_create): Avoid eating the caller's refcount. * gst/gstobject.h (GST_OBJECT_REFCOUNT) (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right refcount. * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8): * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability of GLib 2.8 public, so we can know which refcount to check in tests. * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define. (gst_object_init): Only set the gst refcount if we're going ahead with the refcount hack.
2005-09-13Don't use windows linking attributes in MinGWMichael Smith1-1/+1
Original commit message from CVS: Don't use windows linking attributes in MinGW
2005-08-30docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the ↵Stefan Kost1-2/+46
docs actualy Original commit message from CVS: * docs/gst/gstreamer-sections.txt: ultral33t func10ns deserve to appear in the docs actualy * docs/gst/tmpl/.cvsignore: * docs/gst/tmpl/gstcompat.sgml: * docs/gst/tmpl/gstconfig.sgml: * gst/check/gstcheck.c: * gst/gstcompat.h: * gst/gstconfig.h.in: inlined more docs
2005-07-18Removed plugable schedulers.Wim Taymans1-0/+3
Original commit message from CVS: Removed plugable schedulers. Removed Scheduler/Manager from elements. Removed gsttypes.h, rearranged includes. Removed dependency pad<->element, element<>pipeline, and various others, fix includes. implement gst_pad_get_parent() with gst_object_get_parent() Make GstTask sefcontained. Fix _get_state() on GstBin, it did not return ASYNC with a 0 timeout. Fix endless loop in iterator_fold_with_resync.
2005-05-02merges from 0.8 for 64 bit issuesThomas Vander Stichele1-1/+23
Original commit message from CVS: merges from 0.8 for 64 bit issues
2004-07-25remove unused .def files and export symbols using GST_PLUGIN_DEFINESteve Lhomme1-1/+3
Original commit message from CVS: remove unused .def files and export symbols using GST_PLUGIN_DEFINE
2004-06-13rename GSTREAMER_EXPORT to GST_EXPORTSteve Lhomme1-4/+4
Original commit message from CVS: rename GSTREAMER_EXPORT to GST_EXPORT
2004-06-12Fix the missing "extern"Steve Lhomme1-3/+3
Original commit message from CVS: Fix the missing "extern"
2004-06-12More code in debug builds to have logging capabilitiesSteve Lhomme1-0/+10
Original commit message from CVS: More code in debug builds to have logging capabilities
2004-04-20configure.ac: Add test for allowing unaligned access. Add define to put in ↵David Schleef1-0/+3
gstconfig.h. 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:
2004-01-29configure.ac: Add detection for HAVE_PRINTF_EXTENSION andDavid Schleef1-0/+2
Original commit message from CVS: * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and GST_PRINTF_EXTENSION_FORMAT_DEFINE. * docs/random/ds/0.9-suggested-changes: Notes from Company. * gst/gstcaps.c: (gst_caps_to_string): Add comment. * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object), (gst_debug_log_default), (_gst_info_printf_extension), (_gst_info_printf_extension_arginfo): Add printf extension. * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P * gst/gststructure.c: (gst_structure_to_string), (_gst_structure_parse_value): Use gst_value_deserialize() and remove old code. * gst/gstvalue.c: (gst_value_deserialize_fourcc), (gst_value_deserialize_boolean), (gst_strtoi), (gst_value_deserialize_int), (gst_value_deserialize_double), (gst_value_deserialize_string), (gst_value_deserialize): Implement a bunch of deserialize functions and gst_value_deserialize. * gst/gstvalue.h: er, _de_serialize, not unserialize * testsuite/caps/string-conversions.c: (main): We don't currently handle (float) in caps, so convert these to (double). * testsuite/debug/Makefile.am: Add new test for the printf extension * testsuite/debug/printf_extension.c: (main): same
2003-11-29Remove old autoplug codeDavid Schleef1-4/+0
Original commit message from CVS: Remove old autoplug code
2003-10-28merge TYPEFIND branch. Major changes:Benjamin Otte1-4/+0
Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - bytestream is out of the core again - typefind element is now part of gstelements
2003-06-29GST_DEBUG reorganization containing loads of stuff:Benjamin Otte1-0/+73
Original commit message from CVS: GST_DEBUG reorganization This is a big diff (ca 450k), containing loads of stuff: - gstinfo.[ch] complete rewrite - changing of all GST_DEBUG messages to reflect that change - reorganization of subsystem disabling - addition of gstconfig.h.in so we can track the disablings - <gst/gst.h> does not include <unistd.h> and <config.h> anymore - documentation updated for gstinfo stuff (build the docs yourself to know what changed) - bugfixes for making of the docs (files from CVS are not deleted anymore - testsuite for debugging changes in testsuite/debug expect breakage