[gstreamer-bugs] [Bug 590941] API: add gst_pad_get_caps() variant that avoids unneeded caps copies

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 20 14:44:13 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=590941
  GStreamer | gstreamer (core) | git

--- Comment #7 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2009-10-20 20:27:30 UTC ---
Why reffed with a doubled 'ff'. It comes from 'referenced' as in
http://www.merriam-webster.com/dictionary/referenced

Also what looks wrong to you - the naming or the functionality? We discussed
the nameing before. _nocopy would suggest that gst_pad_get_caps always copies
(which it does not).

Ideally we would rename gst_pad_get_caps() to gst_pad_get_writable_caps() if we
want to have such a utility function at all. gst_pad_get_caps_refed() is what
the actual gst_pad_get_caps() should have been.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list