[gstreamer-bugs] [Bug 396779] Preset interface for elements

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Mar 12 09:14:43 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=396779

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #67 from Tim-Philipp Müller  2008-03-12 16:14 UTC -------
> GKeyfile could be used, but would ev. lead to ugly keys being used:
> http://www.buzztard.org/index.php/Preset_handling_interface#formats

I don't find the GKeyFile format unbearably ugly to be honest. Also, what's the
problem with XML? You say 'bad: xml dependency', but for short files it should
be perfectly ok to just use GMarkupParser, no? The only reason we don't use it
for the registry is that the registry is very large and libxml2 is much faster.


> Regarding the GValue transforms. Probably not:
> http://library.gnome.org/devel/gobject/stable/gobject-Generic-values.html#id2715246

Could you expand on this (or update the link)?  I'm not sure I see the problem
here.  We already have gst_value_serialize() and gst_value_deserialize() which
we use for basically the same purpose.  It would seem to me it would be best to
make those handle the necessary transforms if they don't already, better than
to basically re-implement them.

In fact, I wonder if it wouldn't even be possible to use GstStructure
serialisation/deserialisation here, possibly in combination with GKeyFile.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=396779.




More information about the Gstreamer-bugs mailing list