Commit e41ed82f authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/video_output/video_output.c: Wait till command has been processed.

Wait till the stop command has been processed by the thread before continuing.
parent 16b4210c
......@@ -235,6 +235,7 @@ no_reuse:
cmd.u.cfg = cfg;
vout_control_Push(&vout->p->control, &cmd);
vout_control_WaitEmpty(&vout->p->control);
}
vout_CloseAndRelease(vout);
......
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