Add run_scaled option to startup script.
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Jan 2019 00:20:58 +0000 (00:20 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 9 Jan 2019 00:20:58 +0000 (00:20 +0000)
run/dcpomatic

index f2e12529e2f6b095155ff5ebc7b0044df3d6816f..fcc0e2539814001784d6130b7d9f08cf829276bb 100755 (executable)
@@ -20,6 +20,9 @@ elif [ "$1" == "--i18n" ]; then
 elif [ "$1" == "--perf" ]; then
     shift
     perf record build/src/tools/dcpomatic2 $*
 elif [ "$1" == "--perf" ]; then
     shift
     perf record build/src/tools/dcpomatic2 $*
+elif [ "$1" == "--scaled" ]; then
+    shift
+    ~/src/run_scaled/run_scaled --sleep=5 --scale=0.5 build/src/tools/dcpomatic2 $*
 else
     build/src/tools/dcpomatic2 $*
 fi
 else
     build/src/tools/dcpomatic2 $*
 fi