Mercurial > mplayer.hg
comparison libvo/w32_common.c @ 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 | fca6cfc4d5ca |
comparison
equal
deleted
inserted
replaced
30466:cd3f6962fcfd | 30467:9b7b4eeea093 |
---|---|
389 * vo_vm | 389 * vo_vm |
390 * | 390 * |
391 * \return 1 - Success, 0 - Failure | 391 * \return 1 - Success, 0 - Failure |
392 */ | 392 */ |
393 int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { | 393 int vo_w32_config(uint32_t width, uint32_t height, uint32_t flags) { |
394 // we already have a fully initialized window, so nothing needs to be done | |
395 if (flags & VOFLAG_HIDDEN) | |
396 return; | |
394 // store original size for videomode switching | 397 // store original size for videomode switching |
395 o_dwidth = width; | 398 o_dwidth = width; |
396 o_dheight = height; | 399 o_dheight = height; |
397 | 400 |
398 if (WinID < 0) { | 401 if (WinID < 0) { |