diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-10-17 22:54:02 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-10-17 22:54:02 +0200 |
| commit | afc5e15caf89f2b1eae401e671a379f6ae4bc930 (patch) | |
| tree | 79b12c6baf070db4d37f5cf87d26eef6b36de37e | |
| parent | 81cd3d04756b56ca54a7519c349cb17b6b16ab64 (diff) | |
Add a --screenshot option to the disk writer run file.
| -rwxr-xr-x | run/dcpomatic_disk | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
