GNOME Bugzilla – Bug 621527
gstcaps: New gst_caps_steal_structure() method
Last modified: 2010-06-14 11:18:37 UTC
This allows removing structures from caps without them being freed. Helpful when plugins need to move around structures without having to do an expensive structure copy.
Created attachment 163568 [details] [review] gstcaps: New gst_caps_pop_structure() method
How about _steal_structure() instead? I'd associate 'pop' more with stacks or queues where you 'pop' off the first or last item.
commit 32adac81ee129bf90f3d9ee91b71ccc8c7ec649b Author: Edward Hervey <bilboed@bilboed.com> Date: Mon Jun 14 11:39:40 2010 +0200 gstcaps: New gst_caps_steal_structure() method This allows removing structures from caps without them being freed. Helpful when plugins need to move around structures without having to do an expensive structure copy. API:gst_caps_steal_structure https://bugzilla.gnome.org/show_bug.cgi?id=621527