summaryrefslogtreecommitdiff
path: root/run/tools/dcpdecryptmxf
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-27 12:30:04 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-27 12:30:04 +0100
commit214d72306bdfdd617c3e6a7cfeb5c5d76d7f5e72 (patch)
tree7af52f9614b84e975586c7c8fd328931adc14306 /run/tools/dcpdecryptmxf
parent52b563097e355b098fc9da13cb25f135f0d9bf9e (diff)
Add Atmos read/write and untested MXF decryption tool.1.0-templates
Diffstat (limited to 'run/tools/dcpdecryptmxf')
-rwxr-xr-xrun/tools/dcpdecryptmxf12
1 files changed, 12 insertions, 0 deletions
diff --git a/run/tools/dcpdecryptmxf b/run/tools/dcpdecryptmxf
new file mode 100755
index 00000000..9caf5460
--- /dev/null
+++ b/run/tools/dcpdecryptmxf
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+export LD_LIBRARY_PATH=build/src:build/asdcplib/src:$LD_LIBRARY_PATH
+if [ "$1" == "--debug" ]; then
+ shift
+ gdb --args build/tools/dcpdecryptmxf "$@"
+elif [ "$1" == "--valgrind" ]; then
+ shift
+ valgrind --tool="memcheck" --leak-check=full --show-reachable=yes build/tools/dcpdecryptmxf "$@"
+else
+ build/tools/dcpdecryptmxf "$@"
+fi