X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=blobdiff_plain;f=recipes%2Fpandora-system%2Fpandora-scripts%2Fop_tvout.sh;h=b10f748a2593761da683b7f007a183b053bdb9e9;hp=65a65566c84bbb7bfb06f02f9db09c35165cadcf;hb=90222b309b7707b9ba83554f7f08d4017dd37de5;hpb=caac276628ecea46178220cb1a736f407b396676 diff --git a/recipes/pandora-system/pandora-scripts/op_tvout.sh b/recipes/pandora-system/pandora-scripts/op_tvout.sh index 65a6556..b10f748 100755 --- a/recipes/pandora-system/pandora-scripts/op_tvout.sh +++ b/recipes/pandora-system/pandora-scripts/op_tvout.sh @@ -96,7 +96,11 @@ while true; do ;; "-ps") shift - pal_size=$1 + if [ "$1" != "0,0" ]; then + pal_size=$1 + else + echo "warning: ignored pal_size: $1" + fi ;; "-pp") shift @@ -104,7 +108,11 @@ while true; do ;; "-ns") shift - ntsc_size=$1 + if [ "$1" != "0,0" ]; then + ntsc_size=$1 + else + echo "warning: ignored ntsc_size: $1" + fi ;; "-np") shift