diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-16 22:28:12 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-09-16 22:28:12 +0300 |
commit | e1ecc4315265c465080616b8d8d9257b3aab6ee9 (patch) | |
tree | d8a3aacf1b5468c59da202e44c5035924f5c1a3e /TOOLS | |
parent | 0e1b7765be878491565cf5e471f22b15e106164c (diff) | |
parent | 4dae2a980c4313deed6ddb69556d2ead4417119c (diff) | |
download | mpv-e1ecc4315265c465080616b8d8d9257b3aab6ee9.tar.bz2 mpv-e1ecc4315265c465080616b8d8d9257b3aab6ee9.tar.xz |
Merge svn changes up to r29684
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/mencvcd.sh | 6 | ||||
-rwxr-xr-x | TOOLS/mplmult.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/TOOLS/mencvcd.sh b/TOOLS/mencvcd.sh index c03f3486a6..6e2650f85a 100755 --- a/TOOLS/mencvcd.sh +++ b/TOOLS/mencvcd.sh @@ -4,7 +4,7 @@ # # Licence: GPL # -# 2002/09/21 Jürgen Hammelmann <juergen.hammelmann@gmx.de> +# 2002/09/21 Jürgen Hammelmann <juergen.hammelmann@gmx.de> # # Script: MPlayer Sources (DVD) to (S)VCD ripping and burning # @@ -345,8 +345,8 @@ fi [ $mp3 -eq 1 -a $abrset -eq 0 ] && abr=128 # audio sample rate in kHz -((a=$asr / 1000)) -((b=$asr % 1000)) +a=$(($a=$asr / 1000)) +b=$(($b=$asr % 1000)) [ $b -le 9 ] && b="00$b00" [ $b -le 99 ] && b="0$b00" kasr="$a.$b" diff --git a/TOOLS/mplmult.sh b/TOOLS/mplmult.sh index e0d262f23e..8621c010c0 100755 --- a/TOOLS/mplmult.sh +++ b/TOOLS/mplmult.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # example how to output video on multiple windows in sync. # might be even more useful in combination with vo ggi # to distribute the video arbitrarily @@ -29,7 +29,7 @@ i=1 fifo_list="" while test $i -le $count; do fifo_list="$dir/mp$i $fifo_list" - let i=$i+1 + i=$(($i+1)) done mkfifo $fifo_list |