diff options
author | Andy Wingo <wingo@pobox.com> | 2005-12-05 13:04:22 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2005-12-05 13:04:22 +0000 |
commit | dd2ba0180ad3832d0f37c09287f0e0e4f11374b6 (patch) | |
tree | 25befefe9dfbb46d219b0caf22981e487a6c9869 /ext/faad | |
parent | 693e4e78634908e3b1135c405e600c4f39150195 (diff) | |
download | gst-plugins-bad-dd2ba0180ad3832d0f37c09287f0e0e4f11374b6.tar.gz gst-plugins-bad-dd2ba0180ad3832d0f37c09287f0e0e4f11374b6.tar.bz2 gst-plugins-bad-dd2ba0180ad3832d0f37c09287f0e0e4f11374b6.zip |
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.
Diffstat (limited to 'ext/faad')
-rw-r--r-- | ext/faad/gstfaad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 6057469c..299e7d19 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -867,7 +867,9 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer) guint num_samples = info.samples / faad->channels; /* note: info.samples is total samples, not per channel */ - ret = gst_pad_alloc_buffer (faad->srcpad, 0, bufsize, caps, &outbuf); + ret = + gst_pad_alloc_buffer_and_set_caps (faad->srcpad, 0, bufsize, caps, + &outbuf); if (ret != GST_FLOW_OK) goto out; |