mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 09:32:40 +00:00
options: remove unnecessary clamping on video-pan-x/y
This makes panning impossible at zoom level below 0, because it scales with 2^zoom. Allow using bigger values instead
This commit is contained in:
parent
f52056b76d
commit
a862f4ff10
@ -140,8 +140,8 @@ static const m_option_t mp_vo_opt_list[] = {
|
||||
{"native-keyrepeat", OPT_BOOL(native_keyrepeat)},
|
||||
{"panscan", OPT_FLOAT(panscan), M_RANGE(0.0, 1.0)},
|
||||
{"video-zoom", OPT_FLOAT(zoom), M_RANGE(-20.0, 20.0)},
|
||||
{"video-pan-x", OPT_FLOAT(pan_x), M_RANGE(-3.0, 3.0)},
|
||||
{"video-pan-y", OPT_FLOAT(pan_y), M_RANGE(-3.0, 3.0)},
|
||||
{"video-pan-x", OPT_FLOAT(pan_x)},
|
||||
{"video-pan-y", OPT_FLOAT(pan_y)},
|
||||
{"video-align-x", OPT_FLOAT(align_x), M_RANGE(-1.0, 1.0)},
|
||||
{"video-align-y", OPT_FLOAT(align_y), M_RANGE(-1.0, 1.0)},
|
||||
{"video-scale-x", OPT_FLOAT(scale_x), M_RANGE(0, 10000.0)},
|
||||
|
Loading…
Reference in New Issue
Block a user