summaryrefslogtreecommitdiff
path: root/localv4ldump
diff options
context:
space:
mode:
Diffstat (limited to 'localv4ldump')
-rwxr-xr-xlocalv4ldump4
1 files changed, 2 insertions, 2 deletions
diff --git a/localv4ldump b/localv4ldump
index f71cfcd..0c9a214 100755
--- a/localv4ldump
+++ b/localv4ldump
@@ -91,7 +91,7 @@ for input in $ainputs; do
esac
ainargs="${ainargs:+$ainargs }-f alsa -ar 44100 ${achannels:+-ac $achannels} -i hw:$input"
amaps="${amaps:+$amaps }-map $i:a"
- ((i=i+1))
+ $((i=i+1))
done
vinargs=
vmaps=
@@ -110,7 +110,7 @@ FORMATS
[ -n "$format" ] || { echo "Skipping unsuitable input $input"; continue; }
vinargs="${vinargs:+$vinargs }-f video4linux2 -input_format $format ${inrate:+-framerate $inrate }-s $size -i $input"
vmaps="${vmaps:+$vmaps }-map $i:v:0"
- ((i=i+1))
+ $((i=i+1))
done
voutargs=${vinputs:+-c:v $vcodec $vf ${outrate:+-r $outrate}}
aoutargs=${ainputs:+-c:a $acodec}