[gstreamer-bugs] [Bug 590941] gst_pad_get_caps does unneded caps copies
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Oct 7 12:56:26 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=590941
GStreamer | gstreamer (core) | git
Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.26
--- Comment #5 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2009-10-07 19:56:19 UTC ---
commit fcc5d783df0a8461250da1e0434132d580ec8adf
Author: Stefan Kost <ensonic at users.sf.net>
Date: Wed Oct 7 11:43:54 2009 +0300
pad: add variants of gst_pad_get_caps() that don't copy caps. Fixes #590941
In most places in core and baseclasses we just need the caps to do caps-
intersections. In that case ref'ed caps are enough (no need to copy).
This patch also switches the code to use the new functions.
API: gst_pad_get_caps_refed(), gst_pad_peer_get_caps_refed()
--
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