diff options
author | David Schleef <ds@schleef.org> | 2003-12-12 09:09:00 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-12 09:09:00 +0000 |
commit | cbd8282fce327b54f6a43f93cd928903ff04b06d (patch) | |
tree | 02ba817019e235556d91c158ea52741c21de1725 | |
parent | 4779d2ef92ee8bab30b6fcb1f69343e2830228e5 (diff) | |
download | gstreamer-cbd8282fce327b54f6a43f93cd928903ff04b06d.tar.gz |
minor bugfixes
Original commit message from CVS:
minor bugfixes
-rw-r--r-- | gst/gststructure.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gststructure.c b/gst/gststructure.c index d64b22fb88..c2b3a2eced 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -823,9 +823,9 @@ gst_structure_get_fourcc(const GstStructure *structure, const gchar *fieldname, field = gst_structure_get_field(structure, fieldname); if(field == NULL) return FALSE; - if(!G_VALUE_HOLDS_UINT(&field->value))return FALSE; + if(!GST_VALUE_HOLDS_FOURCC(&field->value))return FALSE; - *value = g_value_get_uint(&field->value); + *value = gst_value_get_fourcc (&field->value); return TRUE; } |