Commit 03b60509 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix changing sample rate handling

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ec20fc15
......@@ -876,7 +876,9 @@ need_realloc:
}
if (enc->channels != dec->channels
|| enc->sample_fmt != dec->sample_fmt)
|| enc->sample_fmt != dec->sample_fmt
|| enc->sample_rate!= dec->sample_rate
)
ost->audio_resample = 1;
resample_changed = ost->resample_sample_fmt != dec->sample_fmt ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment