Add --screenshot option to playlist editor.
[dcpomatic.git] / run / dcpomatic_playlist
index 6550e5dee42bda45369bcbb9d6e55ec169fa515e..a23c45766b58c0659789c7f3c7e4f33d50b171ce 100755 (executable)
@@ -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