From 59986536024fd422c4a87efa39bf3614e72c602c Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 5 Dec 2005 13:04:22 +0000 Subject: [PATCH] [MOVED FROM BAD 21/68] Update for alloc_buffer changes. Original commit message from CVS: 2005-12-05 Andy Wingo * ext/faac/gstfaac.c: (gst_faac_sink_event), (gst_faac_chain): * ext/faad/gstfaad.c: (gst_faad_chain): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_chain): * ext/lcs/gstcolorspace.c: (gst_colorspace_chain): * ext/xine/xineinput.c: (gst_xine_input_get): * gst/colorspace/gstcolorspace.c: (gst_colorspace_chain): * gst/speed/gstspeed.c: (speed_chain): * gst/videocrop/gstvideocrop.c: (gst_video_crop_chain): Update for alloc_buffer changes. --- gst/colorspace/gstcolorspace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c index 5f2d2726d..68de04357 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; -- 2.34.1