tests/fate-run: fix regression in encoding options

Set threads back to 1. Fixes fate when run in multi threaded mode.

Regression since d0c43e3242.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2019-03-19 01:04:49 -03:00
parent 4ed6a485d3
commit f8075b2c91

View File

@ -257,9 +257,10 @@ echov(){
echo "$@" >&3
}
AVCONV_OPTS="-nostdin -nostats -y -cpuflags $cpuflags -threads $threads"
DEC_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
ENC_OPTS="$DEC_OPTS -threads $threads -dct fastint"
AVCONV_OPTS="-nostdin -nostats -y -cpuflags $cpuflags"
COMMON_OPTS="-flags +bitexact -idct simple -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
DEC_OPTS="$COMMON_OPTS -threads $threads"
ENC_OPTS="$COMMON_OPTS -threads 1 -dct fastint"
run_avconv(){
$echov $ffmpeg2 $AVCONV_OPTS $*