changeset 30467:9b7b4eeea093

Add support for VOFLAG_HIDDEN to the w32 backend.
author reimar
date Thu, 04 Feb 2010 22:46:45 +0000
parents cd3f6962fcfd
children c43a5f466e1e
files libvo/w32_common.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Thu Feb 04 22:46:01 2010 +0000
+++ b/libvo/w32_common.c	Thu Feb 04 22:46:45 2010 +0000
@@ -391,6 +391,9 @@
  * \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;