mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
[MOVED FROM BAD 21/68] Update for alloc_buffer changes.
Original commit message from CVS: 2005-12-05 Andy Wingo <wingo@pobox.com> * 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.
This commit is contained in:
parent
7aeaaea834
commit
5998653602
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue