diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-02 09:22:37 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-02 09:24:10 +0100 |
commit | f9e3b72ff6788030521d93d1fc29fed61bab40d2 (patch) | |
tree | 8b3c04383d8913189569dd518a3e1af3de8f11fa /gst/gststructure.h | |
parent | 0aff2c55b7bd7672c52a621d1fba788840207ec0 (diff) |
structure: API: Add gst_structure_id_has_field{,_typed}
Diffstat (limited to 'gst/gststructure.h')
-rw-r--r-- | gst/gststructure.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/gststructure.h b/gst/gststructure.h index aa3aa5d6b..84e09aa22 100644 --- a/gst/gststructure.h +++ b/gst/gststructure.h @@ -172,6 +172,11 @@ gboolean gst_structure_map_in_place (GstStructure gpointer user_data); gint gst_structure_n_fields (const GstStructure *structure); const gchar * gst_structure_nth_field_name (const GstStructure *structure, guint index); +gboolean gst_structure_id_has_field (const GstStructure *structure, + GQuark field); +gboolean gst_structure_id_has_field_typed (const GstStructure *structure, + GQuark field, + GType type); gboolean gst_structure_has_field (const GstStructure *structure, const gchar *fieldname); gboolean gst_structure_has_field_typed (const GstStructure *structure, |