summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-30 23:58:39 +0200
committerwm4 <wm4@nowhere>2015-03-31 00:09:03 +0200
commit00230fab6ae04a5e1929a8d237fc27b47d231c3d (patch)
tree733dbb4fac0cf0efd7f6f0632ad55ab913ab8207 /options/options.c
parent8f0f73e5917fd30dbd359ad24b037b66e05fa11a (diff)
downloadmpv-00230fab6ae04a5e1929a8d237fc27b47d231c3d.tar.bz2
mpv-00230fab6ae04a5e1929a8d237fc27b47d231c3d.tar.xz
options: make --video-rotate use range 0-360
Include 360 in the range and don't stop at 359. This makes cycling through the range in 90° steps less awkward.
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c
index 4e01ae27cf..e2a17382d9 100644
--- a/options/options.c
+++ b/options/options.c
@@ -424,7 +424,7 @@ const m_option_t mp_opts[] = {
OPT_FLOATRANGE("video-align-y", vo.align_y, 0, -1.0, 1.0),
OPT_FLAG("video-unscaled", vo.unscaled, 0),
OPT_FLAG("force-rgba-osd-rendering", force_rgba_osd, 0),
- OPT_CHOICE_OR_INT("video-rotate", video_rotate, 0, 0, 359,
+ OPT_CHOICE_OR_INT("video-rotate", video_rotate, 0, 0, 360,
({"no", -1})),
OPT_VID_STEREO_MODE("video-stereo-mode", video_stereo_mode, 0),