Commit 19e9145a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

libs/gst/base/gstbasetransform.c: Make sure caps are writable before passing...

libs/gst/base/gstbasetransform.c: Make sure caps are writable before passing them to gst_caps_append().

Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
Make sure caps are writable before passing them to
gst_caps_append().
parent be5f17ca
2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_transform_caps):
Make sure caps are writable before passing them to
gst_caps_append().
2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsterror.h:
......
......@@ -392,6 +392,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
temp = klass->transform_caps (trans, direction, caps);
GST_DEBUG_OBJECT (trans, " to: %" GST_PTR_FORMAT, temp);
temp = gst_caps_make_writable (temp);
gst_caps_append (ret, temp);
} else {
/* we send caps with just one structure to the transform
......@@ -405,6 +406,7 @@ gst_base_transform_transform_caps (GstBaseTransform * trans,
gst_caps_unref (nth);
GST_DEBUG_OBJECT (trans, " to[%d]: %" GST_PTR_FORMAT, i, temp);
temp = gst_caps_make_writable (temp);
gst_caps_append (ret, temp);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment