[Bug 708772] Caps in structure are converted by serialization / deserialization to simple structure with more fields.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Sep 26 09:44:34 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=708772
GStreamer | gstreamer (core) | unspecified
--- Comment #2 from Mathieu Duponchelle <mathieu.duponchelle at epitech.eu> 2013-09-26 16:44:28 UTC ---
Yes of course, having a single token for opening and closing doesn't lend
itself very well to recursion :)
A solution would be to use <video/x-raw, format=blabla> but that introduces a
new set of reserved tokens.
My favorite solution, but I'm not sure it could be merged, would be to go from
a C-type cast syntax to a functionnal cast syntax for the type of the field,
like so:
instead of having (GstCaps) video/x-raw, format=blabla ,
you would have GstCaps(video/x-raw, format=blabla).
Would be super nice but not sure we could change the syntax like that :)
Anyway we worked around it so that's not critical to us, would just be nice if
it could be done :)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list