audioresample: Fix drain processing

In case we have to convert internally don't process output length input samples
but history length input samples.
This commit is contained in:
Sebastian Dröge 2009-08-21 10:11:23 +02:00
parent 01408497a1
commit 1e450f21f8

View file

@ -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 */