diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-12-31 16:51:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-12-31 16:52:00 +0100 |
| commit | 7c61fb83aab4fe573a06a2c638d9124d0a1dc51b (patch) | |
| tree | d8029157721d534d08bf522a051343df18a4ce62 /run | |
| parent | d2e8478851845527cca7f4ef5203220fc0fc0de6 (diff) | |
Add --screenshot option to player.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic_player | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run/dcpomatic_player b/run/dcpomatic_player index b7c51c227..0c565c251 100755 --- a/run/dcpomatic_player +++ b/run/dcpomatic_player @@ -22,6 +22,9 @@ elif [ "$1" == "--i18n" ]; then elif [ "$1" == "--perf" ]; then shift perf record $binary $* +elif [ "$1" == "--screenshot" ]; then + shift + GTK_PATH=/usr/local/lib/gtk-3.0 GTK_MODULES=gtk-vector-screenshot $binary "$*" else $binary $* fi |
