From: Oleg Broytman Date: Tue, 4 Nov 2014 00:05:46 +0000 (+0300) Subject: Simplify parameters' handling X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=2c61676e8fd4863e1399b4363db1198de3d06262;p=audio-cdr-video.git Simplify parameters' handling --- diff --git a/video/ff_encode b/video/ff_encode index 8b19270..bdca217 100755 --- a/video/ff_encode +++ b/video/ff_encode @@ -7,14 +7,10 @@ fi if [ -z "$vcodec" ]; then vcodec=mpeg4 -else - vcodec="$vcodec" fi if [ -z "$vbitrate" ]; then vbitrate=1600k -else - vbitrate="$vbitrate" fi if [ -n "$vscale" ]; then @@ -23,20 +19,14 @@ fi if [ -z "$acodec" ]; then acodec=libmp3lame -else - acodec="$acodec" fi if [ -z "$abitrate" ]; then abitrate=256k -else - abitrate="$abitrate" fi if [ -z "$pass" ]; then pass=1 -else - pass="$pass" fi input="$1"