summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-10 10:15:01 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-10 10:15:01 +0100
commit10dc1ff825677ae57448eddae10079a7f5601ace (patch)
tree1c363f7cb8c59076afbbabef30d2fba98b167282
parentc5c0e55b2d2ec97a8dd96f4d3e93f85d13cc9d84 (diff)
Fix for new file naming.
-rwxr-xr-xhacks/compare_dcp_tests8
1 files changed, 4 insertions, 4 deletions
diff --git a/hacks/compare_dcp_tests b/hacks/compare_dcp_tests
index 30949cdef..ae9942c6e 100755
--- a/hacks/compare_dcp_tests
+++ b/hacks/compare_dcp_tests
@@ -7,7 +7,7 @@ if [ "$name" == "" ]; then
fi
mkdir -p tmp/ref
-cp test/data/$name/*video.mxf tmp/ref
+cp test/data/$name/j2c*.mxf tmp/ref
cd tmp/ref
asdcp-unwrap *.mxf
for f in *.j2c; do
@@ -20,17 +20,17 @@ for d in `find build/test/$name -mindepth 1 -maxdepth 1 -type d`; do
b=`basename $d`
echo $d, $b
if [ $b != "info" -a $b != "video" ]; then
- cp $d/*video.mxf tmp/new
+ cp $d/j2c_*.mxf tmp/new
fi
done
cd tmp/new
asdcp-unwrap *.mxf
-for f in *.j2c; do
+for f in *.j2c; do
j2k_to_image -i $f -o $f.png
done
cd ../..
eog tmp/ref/*.png &
-eog tmp/new/*.png
+eog tmp/new/*.png