[MPlayer-cvslog] r28072 - trunk/libvo/w32_common.c
reimar
subversion at mplayerhq.hu
Wed Dec 3 11:38:50 CET 2008
Author: reimar
Date: Wed Dec 3 11:38:50 2008
New Revision: 28072
Log:
Do not override the vo_dwidth/vo_dheight values in vo_w32_config
in -wid mode because we ignore the requested size in that case.
Modified:
trunk/libvo/w32_common.c
Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c (original)
+++ trunk/libvo/w32_common.c Wed Dec 3 11:38:50 2008
@@ -380,10 +380,13 @@ int vo_w32_config(uint32_t width, uint32
o_dwidth = width;
o_dheight = height;
+ if (WinID < 0) {
+ // the desired size is ignored in wid mode, it always matches the window size.
prev_width = vo_dwidth = width;
prev_height = vo_dheight = height;
prev_x = vo_dx;
prev_y = vo_dy;
+ }
vo_fs = flags & VOFLAG_FULLSCREEN;
vo_vm = flags & VOFLAG_MODESWITCHING;
More information about the MPlayer-cvslog
mailing list