diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-21 10:11:23 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-26 09:10:18 +0200 |
commit | 1e450f21f8fa3f755910295023c9d92f243003cd (patch) | |
tree | 211a4e9203378937ddae7fffb08ea1f7e887050f | |
parent | 01408497a1c4e5fcfef9219bbc7d28e1f4a84ba4 (diff) |
audioresample: Fix drain processing
In case we have to convert internally don't process output length input samples
but history length input samples.
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 2421208e7..6d0d9f3ab 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -824,7 +824,7 @@ gst_audio_resample_push_drain (GstAudioResample * resample) } /* process */ - err = resample->funcs->process (resample->state, NULL, &out_len, + err = resample->funcs->process (resample->state, NULL, &history_len, resample->tmp_out, &out_processed); /* convert output format */ |