mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-08 17:19:25 +00:00
minor bugfixes
Original commit message from CVS: minor bugfixes
This commit is contained in:
parent
4779d2ef92
commit
cbd8282fce
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue