diff options
author | wm4 <wm4@nowhere> | 2014-05-24 14:08:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-24 16:17:52 +0200 |
commit | 6125ba613f019a011dcd0873f1b448e859c15634 (patch) | |
tree | 459720d56307a1a64082b4cdb8291edf61417041 /options | |
parent | 8665f7801837ac29f0171437e1c1cb7d6d51e410 (diff) | |
download | mpv-6125ba613f019a011dcd0873f1b448e859c15634.tar.bz2 mpv-6125ba613f019a011dcd0873f1b448e859c15634.tar.xz |
video: add --video-rotate option for controlling auto-rotation
Diffstat (limited to 'options')
-rw-r--r-- | options/options.c | 2 | ||||
-rw-r--r-- | options/options.h | 2 |
2 files changed, 4 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})), diff --git a/options/options.h b/options/options.h index 6b482e2665..6ddb432867 100644 --- a/options/options.h +++ b/options/options.h @@ -94,6 +94,8 @@ typedef struct MPOpts { int requested_input_range; int requested_output_range; + int video_rotate; + char *audio_decoders; char *video_decoders; |