From 6125ba613f019a011dcd0873f1b448e859c15634 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 24 May 2014 14:08:39 +0200 Subject: video: add --video-rotate option for controlling auto-rotation --- options/options.c | 2 ++ options/options.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'options') 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; -- cgit v1.2.3