summaryrefslogtreecommitdiff
path: root/tests/regression-funcs.sh
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-06-15 08:00:03 +0200
committerAnton Khirnov <anton@khirnov.net>2011-06-15 21:57:52 +0200
commitd7ee44024c96ebdbcd718885a77e9a07779df54c (patch)
treeacef5df8b963857d97380d51fe5dfb7bca094abd /tests/regression-funcs.sh
parent88ff180ad66d5b12f5ee0ffbda891b467725a8d3 (diff)
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.
Diffstat (limited to 'tests/regression-funcs.sh')
-rwxr-xr-xtests/regression-funcs.sh2
1 files changed, 1 insertions, 1 deletions
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()