[gstreamer-bugs] [Bug 618853] add caps intersection iterators

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 24 03:08:03 PDT 2010


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

--- Comment #22 from Benjamin Otte (Company) <otte at gnome.org> 2010-05-24 10:07:59 UTC ---
(In reply to comment #21)
> We need a way to copy iterators. Right now
> its gst_caps_copy() that is eating the benefits of the lazy caps.

I think that's not the problem - copying the caps probably happens because
they're modified afterwards. Otherwise we could just make gst_caps_copy() lazy,
too. (For a proof-of-concept it's rather trivial:
GstCaps *
gst_caps_copy (GstCaps *original)
{
  return gst_caps_intersect (original, gst_caps_new_any());
}

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




More information about the Gstreamer-bugs mailing list