mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
vo_opengl: force redraw on command line changes
This commit is contained in:
parent
14bbbffa99
commit
1e67ce74d8
@ -303,6 +303,7 @@ static bool reparse_cmdline(struct gl_priv *p, char *args)
|
|||||||
mpgl_lock(p->glctx);
|
mpgl_lock(p->glctx);
|
||||||
gl_video_set_options(p->renderer, opts->renderer_opts);
|
gl_video_set_options(p->renderer, opts->renderer_opts);
|
||||||
vo_set_flip_queue_params(p->vo, 0, opts->renderer_opts->smoothmotion);
|
vo_set_flip_queue_params(p->vo, 0, opts->renderer_opts->smoothmotion);
|
||||||
|
p->vo->want_redraw = true;
|
||||||
mpgl_unlock(p->glctx);
|
mpgl_unlock(p->glctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user