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:
Wim Taymans 2003-02-25 19:52:03 +00:00
parent faa67ac4af
commit f1b49bfcad

View file

@ -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;
}