[gstreamer-bugs] [Bug 487969] allow nested GstStructures

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 18 10:35:37 PDT 2007


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=487969

  GStreamer | gstreamer (core) | Ver: HEAD CVS




------- Comment #1 from Edgard Lima  2007-10-18 17:35 UTC -------
Created an attachment (id=97436)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=97436&action=view)
cvs_diff_pu


ok.

gst_structure_to_string add ';' to the end
gst_caps_to_string do not add ';' to the end of each field anymore

ideally the gst_structure_to_string_add should use '(' and ')' to delimiter the
structure because the 'open' and 'close' delimiters would be in just one place.
currently, the function that calls gst_structure_to_string is in charge of
write the open delimiter which is "(structure)".
so, gst_structure_from_string does NOT look for "(structure)" open delimeiter,
but looks for the structure name, followed by fields and them followed by ';'
(currently it could find \0 at the end)

a nested gst_structure looks like this:

"Exif, Camera=(structure)Camera, XResolution=(int)72, YResolution=(int)73;,
Image Data=(structure)Image-Data, Orientation=(string)top-left;;"

*notice the difference beteween the fisrt and second "Image Data" !=
"Image-Data"
the fisrt is the name of the structure field of Exif structure
the second is the name of the structure Image-Data (which can not have ' ' in
it)


-- 
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=487969.




More information about the Gstreamer-bugs mailing list