summaryrefslogtreecommitdiff
path: root/gst/gstcaps.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-12 10:42:23 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-12 10:42:23 +0100
commit9cdbffea9474d8cd5a810ab536af65ec00a37a36 (patch)
tree2b51dca173f155e8ba75c6441d00ee1dd5a232ea /gst/gstcaps.h
parent6886be59f539537037d9dadfba98170122bd249f (diff)
caps: improve _do_simplify
Make gst_caps_do_simplify() take ownership of the input caps and produce a simplified output caps. This removes the requirement of having writable input caps and the method can make the caps writable only when needed.
Diffstat (limited to 'gst/gstcaps.h')
-rw-r--r--gst/gstcaps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstcaps.h b/gst/gstcaps.h
index 442083565..9563b3abb 100644
--- a/gst/gstcaps.h
+++ b/gst/gstcaps.h
@@ -438,7 +438,7 @@ GstCaps * gst_caps_subtract (GstCaps *minuend,
GstCaps * gst_caps_union (GstCaps *caps1,
GstCaps *caps2) G_GNUC_WARN_UNUSED_RESULT;
GstCaps * gst_caps_normalize (GstCaps *caps) G_GNUC_WARN_UNUSED_RESULT;
-gboolean gst_caps_do_simplify (GstCaps *caps);
+GstCaps * gst_caps_do_simplify (GstCaps *caps) G_GNUC_WARN_UNUSED_RESULT;
GstCaps * gst_caps_fixate (GstCaps *caps) G_GNUC_WARN_UNUSED_RESULT;