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>
pull/310/head
James Almer 6 years ago
parent 4ed6a485d3
commit f8075b2c91
  1. 7
      tests/fate-run.sh

@ -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 $*

Loading…
Cancel
Save