vo_opengl: fix crash by coping temporal_dither_period for dumb mode too

Specifically, this field must never be 0 (and the option can naturally
not be 0 in any way, unless it wasn't initialized correctly).
This commit is contained in:
wm4 2017-04-21 07:16:26 +02:00
parent 51518ddcf6
commit 4d1eab6e55
1 changed files with 1 additions and 0 deletions

View File

@ -3070,6 +3070,7 @@ static void check_gl_features(struct gl_video *p)
.dither_depth = p->opts.dither_depth,
.dither_size = p->opts.dither_size,
.temporal_dither = p->opts.temporal_dither,
.temporal_dither_period = p->opts.temporal_dither_period,
.tex_pad_x = p->opts.tex_pad_x,
.tex_pad_y = p->opts.tex_pad_y,
.target_brightness = p->opts.target_brightness,