diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /TOOLS/mencvcd.sh | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/mencvcd.sh')
-rwxr-xr-x | TOOLS/mencvcd.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TOOLS/mencvcd.sh b/TOOLS/mencvcd.sh index 95cfbb2ebf..c03f3486a6 100755 --- a/TOOLS/mencvcd.sh +++ b/TOOLS/mencvcd.sh @@ -31,7 +31,7 @@ done ################################################################################ # # 2002/04/11 v0.1.0: first version -# 2002/04/12 v0.1.1: +# 2002/04/12 v0.1.1: # 2002/04/14 v0.1.2: # - handles now multiple vcd's # - support's mp3 audio as option @@ -81,7 +81,7 @@ done TMPDIR="." # path to directory for creating temporary files, recommended 2-3GB space CDDRV="generic-mmc" # cdrdao: cdwriter driver -CDDEV="--device 0,1,0" # or comment out and create link /dev/cdrecorder +CDDEV="--device 0,1,0" # or comment out and create link /dev/cdrecorder # to your cdwriter dev CDMAXSIZE=800 @@ -170,7 +170,7 @@ usage() { HOWCALLED=`basename $0` if [ $# -le 1 ]; then - usage + usage exit 1 fi case $1 in @@ -359,19 +359,19 @@ if [ $burnonly -eq 0 ]; then command="mplayer -noframedrop -vo yuv4mpeg -ao pcm:waveheader -v -osdlevel 0 $sub $params" echo "$command" $command & - + # mjpegtools ($denoise < $VIDEO | \ yuvscaler -v 0 $wide -O $vnorm $size $yuvin | \ mpeg2enc -v 0 -s $mpegnorm $aratio -S $CDMAXSIZE -g 6 -G 15 -r 16 \ $pd $framerate $yuvin -4 2 -2 1 -o $NAME.mpv) & - + # wait for finishing the subprocesses wait # normalize sound [ $norm -eq 1 ] && (echo "normalizing sound..."; normalize $AUDIO) - + # do resampling with sox if [ $sox -ne 0 ]; then echo "wait, do resampling with sox..." @@ -384,7 +384,7 @@ if [ $burnonly -eq 0 ]; then echo "wait, encoding to mp2 audio with toolame..." toolame -b $abr $AUDIO mv -f `basename $AUDIO .wav`.mp2 $NAME.mpa - elif [ $toolame -eq 0 -a $mp3 -eq 0 ]; then + elif [ $toolame -eq 0 -a $mp3 -eq 0 ]; then # mp2enc/lame can't read audiodump.wav directly from named pipe, # we have to read the whole file. echo "wait, encoding to mp2 audio with mp2enc..." @@ -405,12 +405,12 @@ if [ $burnonly -eq 0 ]; then # remove pipe, won't need anymore! rm -f $VIDEO - + # should i create only the mpeg file? [ $mpgonly -eq 1 ] && exit 0 # create cd images - for mpg in ${NAME}*.mpg; do + for mpg in ${NAME}*.mpg; do [ -f $mpg ] || exit 1 cue="`basename $mpg .mpg`.cue" bin="`basename $mpg .mpg`.bin" |