summaryrefslogtreecommitdiff
path: root/run/dcpomatic_cli
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-04 18:01:19 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-04 18:01:19 +0100
commit9bb87e91c0930f16cf615cfc374089912440e5e0 (patch)
treead25f85cd9616d46a3af1aadbfb772a802af8319 /run/dcpomatic_cli
parent8a1042b767e2604b0af4850dd69fd6a848fd6ffe (diff)
Add primitive description of what the playlist is doing. Add missing de-interleave of multi-channel audio sources.
Diffstat (limited to 'run/dcpomatic_cli')
-rwxr-xr-xrun/dcpomatic_cli12
1 files changed, 12 insertions, 0 deletions
diff --git a/run/dcpomatic_cli b/run/dcpomatic_cli
new file mode 100755
index 000000000..bf2f08015
--- /dev/null
+++ b/run/dcpomatic_cli
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src
+if [ "$1" == "--debug" ]; then
+ shift
+ gdb --args build/src/tools/dcpomatic_cli "$@"
+elif [ "$1" == "--valgrind" ]; then
+ shift
+ valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/src/tools/dcpomatic_cli "$@"
+else
+ build/src/tools/dcpomatic_cli "$@"
+fi