From d7ee44024c96ebdbcd718885a77e9a07779df54c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 15 Jun 2011 08:00:03 +0200 Subject: ffmpeg: don't abuse a global for passing samplerate from input to output It's broken with multiple files or audio streams. This removes the default samplerate of 44100 for raw input, hence all the FATE changes. --- tests/regression-funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/regression-funcs.sh') diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh index 4cf2e20fd8..e57cdf111e 100755 --- a/tests/regression-funcs.sh +++ b/tests/regression-funcs.sh @@ -114,7 +114,7 @@ do_video_encoding() do_audio_encoding() { file=${outfile}$1 - do_ffmpeg $file $DEC_OPTS -ac 2 -f s16le -i $pcm_src -ab 128k $ENC_OPTS $2 + do_ffmpeg $file $DEC_OPTS -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 128k $ENC_OPTS $2 } do_audio_decoding() -- cgit v1.2.3