]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Simplify parameters' handling
authorOleg Broytman <phd@phdru.name>
Tue, 4 Nov 2014 00:05:46 +0000 (03:05 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 4 Nov 2014 00:06:43 +0000 (03:06 +0300)
video/ff_encode

index 8b192708a1bde6033cfe687e1941353f3e361f04..bdca2177eb8b2232124396343ab2211a87fcd0fc 100755 (executable)
@@ -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"