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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 26 06:57:25 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=396779

  GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #7 from Marc-Andre Lureau  2007-01-26 14:55 UTC -------
Definetely, serializing values should be in text format (if it's a .ini or a
.xml). But what if the implementation decide to store it differently (using
trackerdb ;)

Seriously, I can read gchar *value in
http://buzztard.cvs.sourceforge.net/buzztard/gst-buzztard/src/preset/preset.h?revision=1.7&view=markup

What is that about? Why not have a GValue * or something better?

Alternatively, we could also think of GstPreset object, taking Gobject elements
and serializing properties in an internal database object,

gst_preset_save_properties (preset, tag, element)
gst_preset_load_properties (preset, tag, element)

Then each preset implementation might have a different backend:
GstPresetXML
GstPresetINI...


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list