[gstreamer-bugs] [Bug 510301] GstStructure immutability problem when creating new C++ bindings

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 7 12:31:47 PST 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=510301

  GStreamer | gstreamer (core) | Ver: 0.10.15




------- Comment #5 from Murray Cumming  2008-02-07 20:31 UTC -------
This is frustrating me more and more. This disturbs language bindings, which
will tend to take references more often than C coders do explicitly, to avoid
reference-counting problems. That shouldn't be considered bad thing, and it's
not something you should be interfering with. Even if it "suggests" that there
could be multiple writers, it doesn't meant that there are.

Specifically, it is stopping us from doing "chained" code like this (though I
think we have an example where it is more useful):
caps->set_simple("width", width)->set_simple("height", height);


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




More information about the Gstreamer-bugs mailing list