From 0125fb671478708b4e2a11931756f79e35d77e06 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Dec 2014 21:34:01 +0100 Subject: vo_opengl: make background color configurable This mainly affects the black bars that are drawn if the window and video aspect ratios mismatch. --- video/out/gl_video.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/out/gl_video.h') 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 +#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; -- cgit v1.2.3