# HG changeset patch # User reimar # Date 1265323605 0 # Node ID 9b7b4eeea093fa6ef2a274862183c9e73b3a4b98 # Parent cd3f6962fcfdd0b44d721c95f02d8c097d1cd17e Add support for VOFLAG_HIDDEN to the w32 backend. diff -r cd3f6962fcfd -r 9b7b4eeea093 libvo/w32_common.c --- 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;