diff options
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index 1e4cc7e..0f4f3dc 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -69,8 +69,8 @@ filebase=$(echo "$infile" | perl -pe 's/\.[^.]*//') # TODO: Make optional with input size as default # TODO: Make each half of size optional with default resolved from input aspect ratio [ -n "$size" ] || exit1 "Unknown output size!" -width=$(echo "$size" | perl -pe 's/[^x]*x//') -height=$(echo "$size" | perl -pe 's/x[^x]*//') +width=$(echo "$size" | perl -pe 's/x[^x]*//') +height=$(echo "$size" | perl -pe 's/[^x]*x//') heightplus=${height:+$(($height+4))} # fallback graphics title |