# HG changeset patch # User reimar # Date 1228300730 0 # Node ID 174c85faada7e7f0456112b3af224f75118f33a7 # Parent 74ac3a0f2bcde11b3ba918f419a444f10b1301fd 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. diff -r 74ac3a0f2bcd -r 174c85faada7 libvo/w32_common.c --- a/libvo/w32_common.c Wed Dec 03 10:34:03 2008 +0000 +++ b/libvo/w32_common.c Wed Dec 03 10:38:50 2008 +0000 @@ -380,10 +380,13 @@ 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;