Commit 2a16691a authored by Thomas Guillem's avatar Thomas Guillem

vout: fix viewpoint init state

This value is only used to compare new viewpoints with the current one.
parent 4de59ab8
......@@ -1244,6 +1244,7 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
osys->is_display_filled = cfg->is_display_filled;
osys->width_saved = cfg->display.width;
osys->height_saved = cfg->display.height;
osys->viewpoint = cfg->viewpoint;
if (osys->is_fullscreen) {
vout_display_cfg_t cfg_windowed = *cfg;
cfg_windowed.is_fullscreen = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment