summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/audioresample/gstaudioresample.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c
index a36e6881..a8eb3fd1 100644
--- a/gst/audioresample/gstaudioresample.c
+++ b/gst/audioresample/gstaudioresample.c
@@ -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;