Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors of runme_linux.sh #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/runme_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SRCDIR=${MAINDIR}/../ply/ # note: this directory must containt: http://mpegfs.in
CFGDIR=${MAINDIR}/cfg/

SEQ=25; # in [22;26]
COND=2; # in [C2AI, C2LD, CWAI, CWRA]
COND=C2AI; # in [C2AI, C2LD, CWAI, CWRA]
RATE=2; # in [1;5]
FRAMECOUNT=1;
THREAD=1;
Expand Down Expand Up @@ -48,15 +48,15 @@ if [ ! -f $HMENCODER ] ; then echo "Can't find TAppEncoderStatic, please set. (
if [ ! -f $HMDECODER ] ; then echo "Can't find TAppDecoderStatic, please set. ($HMDECODER)"; exit -1; fi

## Set Configuration based on sequence, condition and rate
if [ $COND == "C2AI" -o $COND == "C2RA" ]
if [ $COND = "C2AI" -o $COND = "C2RA" ]
then
case $SEQ in
22) CFGSEQUENCE="sequence/queen.cfg";;
23) CFGSEQUENCE="sequence/loot_vox10.cfg";;
24) CFGSEQUENCE="sequence/redandblack_vox10.cfg";;
25) CFGSEQUENCE="sequence/soldier_vox10.cfg";;
26) CFGSEQUENCE="sequence/longdress_vox10.cfg";;
27) CFGSEQUENCE="sequence/basketball_player_vox11";;
27) CFGSEQUENCE="sequence/basketball_player_vox11.cfg";;
28) CFGSEQUENCE="sequence/dancer_vox11.cfg";;
*) echo "sequence not correct ($SEQ)"; exit -1;;
esac
Expand Down