[gst-devel] missing "--disable-index" option, in gstreamer-0.10.21

Sameer Naik sameer.subscriptions at damagehead.com
Mon Dec 1 15:28:12 CET 2008


Thanks for your prompt reply.

I read this comment made:
"Disabling the indexers and URI handler code will only reduce the required 
amount of memory by a very small amount"

Is it a fact that an extremely small amount of memory is used. Does this hold 
true for embedded application's where memory becomes an important parameter.
Say i am playing a 2Gb video file. won't indexing the entire file take up quite 
a chunk of memory?

Secondly which version onwards was the --disable-index option removed 

Regards
~Sameer

On Monday 01 December 2008 19:11:31 Sebastian Dröge wrote:
> Am Montag, den 01.12.2008, 18:40 +0530 schrieb Sameer Naik:
> > Hi,
> > I just realized that "--disable-index" compilation option (to disable
> > indexing for seeking purposes) in on longer available in
> > gstreamer-0.10.21, has it been removed from gstreamer? if so since
> > when and why?
>
> It has been removed intentionally, yes. The relevant changeset was:
> > 2008-07-31  Sebastian Dröge  <sebastian.droege at collabora.co.uk>
> >
> >         * 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.





More information about the gstreamer-devel mailing list