From: Carl Hetherington Date: Mon, 1 Jan 2024 23:16:56 +0000 (+0100) Subject: Add --screenshot option to playlist editor. X-Git-Tag: v2.16.72~64 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=bf660ab2f598d7e1b3e52bf2b893d1b914ca11e7;p=dcpomatic.git Add --screenshot option to playlist editor. --- diff --git a/run/dcpomatic_playlist b/run/dcpomatic_playlist index 6550e5dee..a23c45766 100755 --- a/run/dcpomatic_playlist +++ b/run/dcpomatic_playlist @@ -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