[Bug 732162] gst_caps_new_simple: Does not support caps features in name

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 6 10:39:14 PDT 2014


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

Olivier Crete (Tester) <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier.crete at ocrete.ca

--- Comment #4 from Olivier Crete (Tester) <olivier.crete at ocrete.ca> 2014-10-06 17:39:11 UTC ---
maybe should be:

gst_caps_new_simple_with_features("video/x-raw", "feature1", "feature", NULL,
"prop1", G_TYPE_X, "value1", "prop2", G_TYPE_Y", "value2", NULL);

Although this is clearly not bindable. So for a simple bindable API, these are
possible:

gst_caps_add_features_simple (GstCaps *caps, guint index, const gchar
*feature_name);
which adds another item to the features of the specified structure
gst_caps_set_features_simple (GstCaps *caps, guint index, const gchar
*feature_name);
which just re-set the GstCapsFeature object.

-- 
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