diff options
author | wm4 <wm4@nowhere> | 2016-10-05 20:35:00 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-10-05 20:35:00 +0200 |
commit | 53798b6465718f6746b2a7adf3e68b12d00a6639 (patch) | |
tree | 25522ff594d8ba6e20fa60ac3408b7202830d965 /video | |
parent | d7e587acc93a76950585480cdf0aaafd102dd8b2 (diff) | |
download | mpv-53798b6465718f6746b2a7adf3e68b12d00a6639.tar.bz2 mpv-53798b6465718f6746b2a7adf3e68b12d00a6639.tar.xz |
vo_opengl: apply --opengl-early-flush in dumb mode too
In "dumb mode" (where most features are disabled and which only performs
some basic rendering) we explicitly copy a set of whitelisted options,
and leave all the other options at their default values. Add the new
--opengl-early-flush option to this whitelist. Also remove an option
field accidentally added in the commit adding --opengl-early-flush.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/video.c | 1 | ||||
-rw-r--r-- | video/out/opengl/video.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 9be12dee21..9461153615 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -3119,6 +3119,7 @@ static void check_gl_features(struct gl_video *p) .target_brightness = p->opts.target_brightness, .hdr_tone_mapping = p->opts.hdr_tone_mapping, .tone_mapping_param = p->opts.tone_mapping_param, + .early_flush = p->opts.early_flush, }; for (int n = 0; n < SCALER_COUNT; n++) p->opts.scaler[n] = gl_video_opts_def.scaler[n]; diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index e7ece85138..5011af83d1 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -133,7 +133,6 @@ struct gl_video_opts { int tex_pad_x, tex_pad_y; struct mp_icc_opts *icc_opts; int early_flush; - int use_overlay; }; extern const struct m_sub_options gl_video_conf; |