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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 19 04:48:26 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

Michael Smith changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msmith at fluendo.com




------- Comment #8 from Michael Smith  2007-10-19 11:48 UTC -------
Not ok.

With this patch, I did this, in python:

import gst
c = gst.caps_from_string("video/x-raw-yuv,width=640,height=480")
print c.to_string()

Which output:
video/x-raw-yuv, width=(int)640, height=(int)480;;

Then took that string, and went back to my installed gstreamer (0.10.14), and
ran this:

import gst
c = gst.caps_from_string("video/x-raw-yuv, width=(int)640, height=(int)480;;")
if not c:
    print "You broke compatibility!"

Which unfortunately printed out the "You broke compatibility!" message.

We serialise caps in various places, and changing the serialisation of them
will break things. So, we MUST avoid doing so.


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