diff options
Diffstat (limited to 'gst/colorspace')
-rw-r--r-- | gst/colorspace/gstcolorspace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c index 5f2d2726..68de0435 100644 --- a/gst/colorspace/gstcolorspace.c +++ b/gst/colorspace/gstcolorspace.c @@ -551,7 +551,8 @@ gst_colorspace_chain (GstPad * pad, GstData * _data) g_critical ("input size is smaller than expected"); } - outbuf = gst_pad_alloc_buffer (space->srcpad, GST_BUFFER_OFFSET_NONE, + outbuf = + gst_pad_alloc_buffer_and_set_caps (space->srcpad, GST_BUFFER_OFFSET_NONE, space->src_size); converter = gst_colorspace_converters + space->converter_index; |