From: Carl Hetherington Date: Sun, 17 Oct 2021 20:54:02 +0000 (+0200) Subject: Add a --screenshot option to the disk writer run file. X-Git-Tag: v2.15.171~12 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=afc5e15caf89f2b1eae401e671a379f6ae4bc930 Add a --screenshot option to the disk writer run file. --- diff --git a/run/dcpomatic_disk b/run/dcpomatic_disk index 3e74ebd47..591fc01fe 100755 --- a/run/dcpomatic_disk +++ b/run/dcpomatic_disk @@ -23,6 +23,9 @@ elif [ "$1" == "--perf" ]; then elif [ "$1" == "--scaled" ]; then shift ~/src/run_scaled/run_scaled --sleep=5 --scale=0.5 build/src/tools/dcpomatic2_disk $* +elif [ "$1" == "--screenshot" ]; then + shift + GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot build/src/tools/dcpomatic2_disk $* else build/src/tools/dcpomatic2_disk $* fi