I want to say, it is not possible to close a window with a video with the Windows close button.
What happens?
Nothing happens!
OS ?
Windows (see above!) - XP, Vista, Win 7
What video output?
What do you mean with "What video output?"?
Each playing a video in a separate window, if in the preferences the "Integrate video in interface" option is not enabled.
Each playing a video in a separate window, if in the preferences the "Integrate video in interface" option is not enabled.
same with visualization window without touching any pref...
Extract from the source code of the file\modules\video_output\msw\events.c:
#!div style="font-size: 100%"Code highlighting: {{{#!python /* the user wants to close the window */ case WM_CLOSE: vout_display_SendEventClose(vd); return 0;}}
}}}
This code is identical in both versions. He is part of a switch query (for 2.1.3) starting at line 824.
I can not check if this code is touched in 2.1.x when the user clicks on the close button.
Bringing #5665 (closed) up made me think that the current behaviour is actually correct. If the user closes a video(-only) window, the video track should stop playing. To stop playback completely, close the main (UI) window, or press the stop button.
I don't see any reasonable way to address this #11500 (closed) request without reintroducing bug #5665 (closed) at the same time. And #5665 (closed) was a real functional bug. I know that it was a relatively uncommon situation, but so is disabling the embedded video.
(That being said, when the video is closed, it would be desirable that the video track gets unselected, and decoding and filtering should actually stop.)
We can't please everybody; #5665 (closed) and #11500 (closed) are contraductory. And as already noted, I think the current behaviour intended with #5665 (closed) is actually correct and better.
Luckily, video usually plays within the GUI, not in a separate window (except with multiple tracks), so this "bug" is not that common.