summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-02 00:16:56 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-02 00:16:56 +0100
commitbf660ab2f598d7e1b3e52bf2b893d1b914ca11e7 (patch)
treed7e3ae2161951d1fdc9039ba0e033bfeb6ddb6a9
parent1d909d6b8f30286b1bce426f50973f1370137646 (diff)
Add --screenshot option to playlist editor.
-rwxr-xr-xrun/dcpomatic_playlist3
1 files changed, 3 insertions, 0 deletions
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