summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun/dcpomatic_player3
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