Skip to content

Commit 694d4ce

Browse files
committed
Move EXTRA_OPTS after QSTR in rd_collect_vtm.sh
Prevents default settings from overriding encoder options input by user
1 parent 4eba6bf commit 694d4ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/rd_collect_vtm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ QSTR="-wdt $WIDTH -hgt $HEIGHT -f $FRAMES -fr $FPS -c $VTM_ROOT/cfg/encoder_rand
2323
ENCTIME=$BASENAME-enctime.out
2424
TIMER='time -v --output='"$ENCTIME"
2525
$Y4M2YUV -o $BASENAME.yuv $FILE
26-
$TIMER $VTM $EXTRA_OPTS $QSTR -o $BASENAME-out.yuv -b $BASENAME.vvc -i $BASENAME.yuv > $BASENAME-enc.out
26+
$TIMER $VTM $QSTR $EXTRA_OPTS -o $BASENAME-out.yuv -b $BASENAME.vvc -i $BASENAME.yuv > $BASENAME-enc.out
2727
$YUV2YUV4MPEG $BASENAME-out -w$WIDTH -h$HEIGHT
2828
SIZE=$(wc -c $BASENAME.vvc | awk '{ print $1 }')
2929
$DUMP_PSNR $FILE $BASENAME-out.y4m > $BASENAME-psnr.out 2> /dev/null

0 commit comments

Comments
 (0)