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:
parent
01408497a1
commit
1e450f21f8
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user