[MPlayer-cvslog] r30509 - trunk/libvo/w32_common.c

reimar subversion at mplayerhq.hu
Thu Feb 4 23:46:45 CET 2010


Author: reimar
Date: Thu Feb  4 23:46:45 2010
New Revision: 30509

Log:
Add support for VOFLAG_HIDDEN to the w32 backend.

Modified:
   trunk/libvo/w32_common.c

Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	Thu Feb  4 23:46:01 2010	(r30508)
+++ trunk/libvo/w32_common.c	Thu Feb  4 23:46:45 2010	(r30509)
@@ -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;


More information about the MPlayer-cvslog mailing list