mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
more strict _is_fixed checking
Original commit message from CVS: more strict _is_fixed checking
This commit is contained in:
parent
2d78d942c3
commit
7714e7f75f
2 changed files with 3 additions and 2 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit b5288e8215c6eacf0782880f6c5b6dea8f445a34
|
||||
Subproject commit fcdc6ccbcc674dd487021d87a0313abf02bae396
|
|
@ -333,7 +333,8 @@ gboolean gst_caps2_is_fixed (const GstCaps2 *caps)
|
|||
field = GST_STRUCTURE_FIELD(structure, i);
|
||||
type = G_VALUE_TYPE(&field->value);
|
||||
|
||||
if(type == GST_TYPE_INT_RANGE || type == GST_TYPE_DOUBLE_RANGE) {
|
||||
if(type == GST_TYPE_INT_RANGE || type == GST_TYPE_DOUBLE_RANGE ||
|
||||
type == GST_TYPE_LIST || !(G_TYPE_IS_FUNDAMENTAL(type))) {
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue