From dd2ba0180ad3832d0f37c09287f0e0e4f11374b6 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 5 Dec 2005 13:04:22 +0000 Subject: 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. --- ext/lcs/gstcolorspace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext/lcs') diff --git a/ext/lcs/gstcolorspace.c b/ext/lcs/gstcolorspace.c index ab1167a4..5e688b7b 100644 --- a/ext/lcs/gstcolorspace.c +++ b/ext/lcs/gstcolorspace.c @@ -411,7 +411,9 @@ gst_colorspace_chain (GstPad * pad, GstData * _data) lcs_format_buffer_size (lcs_converter_get_dest_format (space->converter), space->width, space->height, &size); - outbuf = gst_pad_alloc_buffer (space->srcpad, GST_BUFFER_OFFSET_NONE, size); + outbuf = + gst_pad_alloc_buffer_and_set_caps (space->srcpad, + GST_BUFFER_OFFSET_NONE, size); lcs_convert_auto (space->converter, GST_BUFFER_DATA (buf), -- cgit v1.2.1