projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa67ac
)
Adjust the fixed flag in gst_caps_set_props
author
Wim Taymans
<wim.taymans@gmail.com>
Tue, 25 Feb 2003 19:52:03 +0000
(19:52 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Tue, 25 Feb 2003 19:52:03 +0000
(19:52 +0000)
Original commit message from CVS:
Adjust the fixed flag in gst_caps_set_props
gst/gstcaps.c
patch
|
blob
|
history
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index
29e1ca7
..
c30a7a5
100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-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;
}