git.openpandora.org
/
openpandora.oe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
op_tvout: never use zero width/height
[openpandora.oe.git]
/
recipes
/
pandora-system
/
pandora-scripts
/
op_tvout.sh
diff --git
a/recipes/pandora-system/pandora-scripts/op_tvout.sh
b/recipes/pandora-system/pandora-scripts/op_tvout.sh
index
65a6556
..
b10f748
100755
(executable)
--- 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
;;
"-ps")
shift
- pal_size=$1
+ if [ "$1" != "0,0" ]; then
+ pal_size=$1
+ else
+ echo "warning: ignored pal_size: $1"
+ fi
;;
"-pp")
shift
;;
"-pp")
shift
@@
-104,7
+108,11
@@
while true; do
;;
"-ns")
shift
;;
"-ns")
shift
- ntsc_size=$1
+ if [ "$1" != "0,0" ]; then
+ ntsc_size=$1
+ else
+ echo "warning: ignored ntsc_size: $1"
+ fi
;;
"-np")
shift
;;
"-np")
shift