diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-31 15:20:32 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-31 15:20:32 +0000 |
commit | 4bfb1fe70c6f0d5e29c17a8eeffb02f7fd083f11 (patch) | |
tree | 6719ce6a0a30d55bddd1b39067f249795ad88784 /docs | |
parent | b491e19e0e15cb4d420084e53b13a5aa443487a6 (diff) | |
download | gstreamer-4bfb1fe70c6f0d5e29c17a8eeffb02f7fd083f11.tar.gz |
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gst/gstreamer-sections.txt | 3 | ||||
-rw-r--r-- | docs/gst/gstreamer.types | 41 | ||||
-rw-r--r-- | docs/gst/gstreamer.types.in | 4 |
3 files changed, 43 insertions, 5 deletions
diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 602ba0e7a3..b84fcef588 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -395,10 +395,7 @@ GST_DISABLE_PARSE GST_DISABLE_TRACE GST_DISABLE_ALLOC_TRACE GST_DISABLE_REGISTRY -GST_DISABLE_ENUMTYPES -GST_DISABLE_INDEX GST_DISABLE_PLUGIN -GST_DISABLE_URI GST_DISABLE_XML <SUBSECTION Private> GST_DISABLE_LOADSAVE_REGISTRY diff --git a/docs/gst/gstreamer.types b/docs/gst/gstreamer.types new file mode 100644 index 0000000000..74ccbe51c6 --- /dev/null +++ b/docs/gst/gstreamer.types @@ -0,0 +1,41 @@ +% add a _get_type for every GObject whose properties and signals you want +% documented +% add the relevant includes to be able to call those _get_type functions + +% adding a get_type here will: +% - change output file name from gstreamer-(whatever).html to (whatever).html +% - document properties and signals + +#include <gst/gst.h> + +gst_bin_get_type +gst_bus_get_type +gst_child_proxy_get_type +gst_clock_get_type +gst_element_factory_get_type +gst_element_get_type +gst_ghost_pad_get_type +gst_implements_interface_get_type +gst_index_factory_get_type +gst_index_get_type +gst_object_get_type +gst_pad_get_type +gst_pad_template_get_type +gst_pipeline_get_type +gst_plugin_feature_get_type +gst_preset_get_type +gst_registry_get_type +gst_system_clock_get_type +gst_tag_setter_get_type +gst_task_get_type +gst_type_find_factory_get_type +gst_uri_handler_get_type +gst_xml_get_type + +% these are not GObject derived types +% this works with gtk-doc 1.10 at least +%gst_buffer_get_type +%gst_mini_object_get_type +%gst_message_get_type +%gst_query_get_type + diff --git a/docs/gst/gstreamer.types.in b/docs/gst/gstreamer.types.in index 1de0bbb9f7..2bcd498cbd 100644 --- a/docs/gst/gstreamer.types.in +++ b/docs/gst/gstreamer.types.in @@ -16,8 +16,8 @@ gst_element_factory_get_type gst_element_get_type gst_ghost_pad_get_type gst_implements_interface_get_type -@GST_INDEX_DOC_TYPES@gst_index_factory_get_type -@GST_INDEX_DOC_TYPES@gst_index_get_type +gst_index_factory_get_type +gst_index_get_type gst_object_get_type gst_pad_get_type gst_pad_template_get_type |