GNOME Bugzilla – Bug 629300
gstructure: New API for comparing structures
Last modified: 2011-06-15 17:28:49 UTC
Allows checking equality of GstStructure without having to create intermediary GstCaps. API: gst_structure_is_equal
Created attachment 169968 [details] [review] gstructure: New API: gst_structure_is_equal
Created attachment 169971 [details] [review] gststructure: Add gst_structure_can_intersect API Allows checking if two structures can intersect without having to go through GstCaps API: gst_structure_can_intersect
Makes sense but maybe add a gst_structure_intersect() too while we're at it :) Patches look good (of course)
Looks good. Out of curiosity, where do you need it?
Comment on attachment 169968 [details] [review] gstructure: New API: gst_structure_is_equal Please push this after the release, thanks ;) And if you want to make me more happy please add gst_structure_intersection()
(In reply to comment #5) > (From update of attachment 169968 [details] [review]) > Please push this after the release, thanks ;) And if you want to make me more > happy please add gst_structure_intersection() gst_caps_structure_intersect() - we could move that from gstcaps.c to gststructure.c, rename to gst_structure_intersect() and make it public.
commit b4dea3a1d3133b9a94ffdaba5122a59cdae9cf9c Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue May 17 09:35:54 2011 +0200 structure: Make both parameters to gst_structure_is_equal() const commit 53ef31718d7e53f9b8f76c74fd5c7441a0398c0f Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue May 17 09:33:47 2011 +0200 structure: Update Since markers to the correct version commit a08a17dfbdbe4b5f51856dd6ec85fbe726bfacfb Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue May 17 09:33:04 2011 +0200 structure: Add gst_structure_intersect() API: gst_structure_intersect() commit 64725facb5d9b51570096dd3a980b19247372a57 Author: Edward Hervey <bilboed@bilboed.com> Date: Fri Sep 10 18:33:34 2010 +0200 gststructure: Add gst_structure_can_intersect API Allows checking if two structures can intersect without having to go through GstCaps API: gst_structure_can_intersect https://bugzilla.gnome.org/show_bug.cgi?id=629300 commit ae46eb3a3848fa5991e987f08d59bc6a5b2bc9b5 Author: Edward Hervey <bilboed@bilboed.com> Date: Fri Sep 10 18:14:05 2010 +0200 gstructure: New API: gst_structure_is_equal Allows checking equality of GstStructure without having to create intermediary GstCaps. API: gst_structure_is_equal https://bugzilla.gnome.org/show_bug.cgi?id=629300