From 61aa25b04977de12f2a0793cf0341d47ee262faf Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Thu, 8 May 2008 06:20:42 +0000 Subject: gst/audioresample/gstaudioresample.c: Let audioresample use the buffer allocation of basetransform instead of it's ow... Original commit message from CVS: Patch by: Sjoerd Simons * gst/audioresample/gstaudioresample.c: (gst_audioresample_init): Let audioresample use the buffer allocation of basetransform instead of it's own stuff. * tests/check/elements/audioresample.c: (alloc_only_48000), (GST_START_TEST), (audioresample_suite): Add unit test for the recent basetransform bugfix, where upstream changes caps to something that can't be passed through anymore. --- gst/audioresample/gstaudioresample.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gst') diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index a8eb3fd1..a36e6881 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -192,10 +192,6 @@ 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; -- cgit v1.2.1