Fix window hiding condition

If a window is present, it must be hidden on quit, regardless of whether
video playback is enabled.
This commit is contained in:
Romain Vimont
2026-01-24 22:19:14 +01:00
parent 373b366fa5
commit c07500bb03

View File

@@ -949,7 +949,7 @@ aoa_complete:
terminate_event_loop();
LOGD("quit...");
if (options->video_playback) {
if (options->window) {
// Close the window immediately on closing, because screen_destroy()
// may only be called once the video demuxer thread is joined (it may
// take time)