diff options
author | Sjoerd Simons <sjoerd@luon.net> | 2008-05-08 06:20:42 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-05-08 06:20:42 +0000 |
commit | 61aa25b04977de12f2a0793cf0341d47ee262faf (patch) | |
tree | b6b3519e850cb8e8c1d817f23db994ce5c1fc8a8 /gst/audioresample | |
parent | cfe9a2f6bbdf51325cd1e9d715df0c655ed7f809 (diff) | |
download | gst-plugins-bad-61aa25b04977de12f2a0793cf0341d47ee262faf.tar.gz gst-plugins-bad-61aa25b04977de12f2a0793cf0341d47ee262faf.tar.bz2 gst-plugins-bad-61aa25b04977de12f2a0793cf0341d47ee262faf.zip |
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 <sjoerd at luon dot net>
* 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.
Diffstat (limited to 'gst/audioresample')
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 4 |
1 files changed, 0 insertions, 4 deletions
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; |