diff options
author | Michael Niedermayer <[email protected]> | 2011-12-01 04:06:59 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2011-12-01 04:06:59 +0100 |
commit | 03b60509cb929efce8bf9de0249682cd3e2de963 (patch) | |
tree | 0f133e07ab20c1503937a8dde448917133a2df6f | |
parent | ec20fc15818598aaf83232db3df2c85b1752c49a (diff) |
ffmpeg: fix changing sample rate handling
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 || |