Commit 6a0f8ab4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout: do not set "fullscreen" variable again (fixes #7926)

The "fullscreen" variable is set by the UI. That triggers a vout
control request. Then the vout thread actually switches to/from
full screen mode. Setting the "fullscreen" variable again then would
trigger a live loop in some circumstances, and should be useless.
parent c53c495b
......@@ -1268,8 +1268,6 @@ static void ThreadStep(vout_thread_t *vout, mtime_t *duration)
static void ThreadChangeFullscreen(vout_thread_t *vout, bool fullscreen)
{
/* FIXME not sure setting "fullscreen" is good ... */
var_SetBool(vout, "fullscreen", fullscreen);
vout_SetDisplayFullscreen(vout->p->display.vd, fullscreen);
}
......
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