mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
Adjust the fixed flag in gst_caps_set_props
Original commit message from CVS: Adjust the fixed flag in gst_caps_set_props
This commit is contained in:
parent
faa67ac4af
commit
f1b49bfcad
1 changed files with 5 additions and 0 deletions
|
@ -538,6 +538,11 @@ gst_caps_set_props (GstCaps *caps, GstProps *props)
|
|||
|
||||
gst_props_replace_sink (&caps->properties, props);
|
||||
|
||||
if (props && !GST_PROPS_IS_FIXED (props))
|
||||
GST_CAPS_FLAG_UNSET (caps, GST_CAPS_FIXED);
|
||||
else
|
||||
GST_CAPS_FLAG_SET (caps, GST_CAPS_FIXED);
|
||||
|
||||
return caps;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue