summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalvideowebencode2
1 files changed, 1 insertions, 1 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 3b0a5d2..0153c2a 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -187,6 +187,7 @@ EOF
profilesize="$profile"
;;
esac
+size=${size:-$profilesize}
case "$size" in
qvga) size=320x240;;
@@ -201,7 +202,6 @@ case "$size" in
720p|wxga|hd) size=1280x720;;
esac
-size=${size:-$profilesize}
if [ -n "$size" ]; then
while read w h foo; do
width="${width:-$w}"