diff options
author | wm4 <wm4@nowhere> | 2014-12-09 21:34:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-09 21:55:27 +0100 |
commit | 0125fb671478708b4e2a11931756f79e35d77e06 (patch) | |
tree | 5cd874508635afd9079f13031a0d4b26bc05d674 /video/out/gl_video.h | |
parent | ef709d19d4ece978c13908ca2cafdf194585b426 (diff) | |
download | mpv-0125fb671478708b4e2a11931756f79e35d77e06.tar.bz2 mpv-0125fb671478708b4e2a11931756f79e35d77e06.tar.xz |
vo_opengl: make background color configurable
This mainly affects the black bars that are drawn if the window and
video aspect ratios mismatch.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r-- | video/out/gl_video.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h index 3d733c8a80..52f4b0c16b 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -19,6 +19,7 @@ #include <stdbool.h> +#include "options/m_option.h" #include "sub/osd.h" #include "gl_common.h" @@ -50,10 +51,12 @@ struct gl_video_opts { int alpha_mode; int chroma_location; int use_rectangle; + struct m_color background; }; extern const struct m_sub_options gl_video_conf; extern const struct gl_video_opts gl_video_opts_hq_def; +extern const struct gl_video_opts gl_video_opts_def; struct gl_video; |