summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-24 14:08:39 +0200
committerwm4 <wm4@nowhere>2014-05-24 16:17:52 +0200
commit6125ba613f019a011dcd0873f1b448e859c15634 (patch)
tree459720d56307a1a64082b4cdb8291edf61417041 /options/options.c
parent8665f7801837ac29f0171437e1c1cb7d6d51e410 (diff)
downloadmpv-6125ba613f019a011dcd0873f1b448e859c15634.tar.bz2
mpv-6125ba613f019a011dcd0873f1b448e859c15634.tar.xz
video: add --video-rotate option for controlling auto-rotation
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 7377f666d9..173d3493cc 100644
--- a/options/options.c
+++ b/options/options.c
@@ -498,6 +498,8 @@ const m_option_t mp_opts[] = {
({"auto", MP_CSP_LEVELS_AUTO},
{"limited", MP_CSP_LEVELS_TV},
{"full", MP_CSP_LEVELS_PC})),
+ OPT_CHOICE_OR_INT("video-rotate", video_rotate, 0, 0, 359,
+ ({"no", -1})),
OPT_CHOICE_OR_INT("cursor-autohide", cursor_autohide_delay, 0,
0, 30000, ({"no", -1}, {"always", -2})),