1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-26 18:32:08 +00:00

Add support for VOFLAG_HIDDEN to the w32 backend.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30509 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-02-04 22:46:45 +00:00
parent bf6dc310dc
commit 1cd3b3c5dd

View File

@ -391,6 +391,9 @@ static int createRenderingContext(void) {
* \return 1 - Success, 0 - Failure * \return 1 - Success, 0 - Failure
*/ */
int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) {
// we already have a fully initialized window, so nothing needs to be done
if (flags & VOFLAG_HIDDEN)
return;
// store original size for videomode switching // store original size for videomode switching
o_dwidth = width; o_dwidth = width;
o_dheight = height; o_dheight = height;