diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-04 22:46:45 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-04 22:46:45 +0000 |
commit | 1cd3b3c5ddde1c9d93de1b8bd4f26916e41b9381 (patch) | |
tree | 6744f8067ac98c4b21e362d3d9b024570ea3c400 | |
parent | bf6dc310dc523deee16b9193b31f77eb884c7c1c (diff) |
Add support for VOFLAG_HIDDEN to the w32 backend.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30509 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/w32_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c index 7c60f2d301..a0ffd9fb98 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -391,6 +391,9 @@ static int createRenderingContext(void) { * \return 1 - Success, 0 - Failure */ 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 o_dwidth = width; o_dheight = height; |