summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-06 17:27:03 +0100
committerwm4 <wm4@nowhere>2013-03-06 17:29:54 +0100
commitc6e10611610269aa23edba0c2aa2eb808d1c3e63 (patch)
tree6438b682b75e205b81c0b81939d5af7e320e7100
parenta1a9dc9c850f6e99103e34f1ed8e66fdc9d2012c (diff)
downloadmpv-c6e10611610269aa23edba0c2aa2eb808d1c3e63.tar.bz2
mpv-c6e10611610269aa23edba0c2aa2eb808d1c3e63.tar.xz
options: fix panscan controls
The value range was set to 1-99 instead of 0-1. This broke panscan control with the 'w' and 'e' keybindings. Broken by commit 1198c03.
-rw-r--r--core/cfg-mplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cfg-mplayer.h b/core/cfg-mplayer.h
index 5de4050f89..9e33ae67dd 100644
--- a/core/cfg-mplayer.h
+++ b/core/cfg-mplayer.h
@@ -570,7 +570,7 @@ const m_option_t mplayer_opts[]={
OPT_INTRANGE("fsmode-dontuse", vo.fsmode, 0, 31, 4096),
OPT_INT("colorkey", vo.colorkey, 0),
OPT_INT("no-colorkey", vo.colorkey, 0x1000000),
- OPT_FLOATRANGE("panscan", vo.panscan, 0, 1.0, 99.0),
+ OPT_FLOATRANGE("panscan", vo.panscan, 0, 0.0, 1.0),
OPT_FLOATRANGE("panscanrange", vo.panscanrange, 0, -19.0, 99.0),
OPT_FLAG("force-rgba-osd-rendering", force_rgba_osd, 0),
OPT_CHOICE("colormatrix", requested_colorspace, 0,