[gstreamer-bugs] [Bug 513964] New: [GstPad] gst_pad_get_caps don't return a copy of the caps
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Feb 2 13:37:01 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=513964
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: [GstPad] gst_pad_get_caps don't return a copy of the
caps
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: thijsvermeir at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
the function gst_pad_get_caps promises in the documentation:
"Returns : a newly allocated copy of the GstCaps of this pad. MT safe."
However in the case that there is are no caps on this pad, we get the caps from
the template. This caps are not copied but only reffed. (gstpad.c:2011)
--
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=513964.
More information about the Gstreamer-bugs
mailing list