mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
gst/audioresample/gstaudioresample.c: Revert previous change which made basetransform handle buffer_alloc and which b...
Original commit message from CVS: * gst/audioresample/gstaudioresample.c: (gst_audioresample_init): Revert previous change which made basetransform handle buffer_alloc and which breaks things badly in the non-passthrough case since it returned buffers with a different (ie. sometimes smaller) size than the size requested.
This commit is contained in:
parent
d06df554a9
commit
d92ff26d29
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2008-05-14 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* gst/audioresample/gstaudioresample.c: (gst_audioresample_init):
|
||||
Revert previous change which made basetransform handle buffer_alloc
|
||||
and which breaks things badly in the non-passthrough case since it
|
||||
returned buffers with a different (ie. sometimes smaller) size than
|
||||
the size requested.
|
||||
|
||||
2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
Patch by: Bernard B <b-gnome at largestprime dot net>
|
||||
|
|
|
@ -192,6 +192,10 @@ gst_audioresample_init (GstAudioresample * audioresample,
|
|||
|
||||
trans = GST_BASE_TRANSFORM (audioresample);
|
||||
|
||||
/* buffer alloc passthrough is too impossible. FIXME, it
|
||||
* is trivial in the passthrough case. */
|
||||
gst_pad_set_bufferalloc_function (trans->sinkpad, NULL);
|
||||
|
||||
audioresample->filter_length = DEFAULT_FILTERLEN;
|
||||
|
||||
audioresample->need_discont = FALSE;
|
||||
|
|
Loading…
Reference in a new issue