Index: tools/rd_collect.sh |
diff --git a/tools/rd_collect.sh b/tools/rd_collect.sh |
index f00efe85c411b7df83a88fc1ced5433477185471..368d45fe2f384b1e39d077f468460ad1ac87e804 100755 |
--- a/tools/rd_collect.sh |
+++ b/tools/rd_collect.sh |
@@ -385,4 +385,5 @@ if [ -z "$CORES" ]; then |
#echo "CORES not set, using $CORES" |
fi |
-find -L "$@" -type f -name "*.y4m" -print0 | xargs -0 -n1 -P$CORES $RD_COLLECT_SUB |
+RANGE="20 32 43 55 63" |
luc.trudeau
2017/06/02 21:05:07
How about making the RANGE configurable
if [ -z $
|
+for f in $(find -L "$@" -type f -name "*.y4m"); do for x in $RANGE; do printf '%s\0%s\0' "$f" "$x"; done; done | xargs -0 -n2 -P$CORES $RD_COLLECT_SUB |