mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-27 08:26:39 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ gst_audio_resample_push_drain (GstAudioResample * resample)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* process */
|
/* process */
|
||||||
err = resample->funcs->process (resample->state, NULL, &out_len,
|
err = resample->funcs->process (resample->state, NULL, &history_len,
|
||||||
resample->tmp_out, &out_processed);
|
resample->tmp_out, &out_processed);
|
||||||
|
|
||||||
/* convert output format */
|
/* convert output format */
|
||||||
|
|
Loading…
Reference in a new issue