Mercurial > mplayer.hg
changeset 28038:174c85faada7
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.
author | reimar |
---|---|
date | Wed, 03 Dec 2008 10:38:50 +0000 |
parents | 74ac3a0f2bcd |
children | a95ac8f0336e |
files | libvo/w32_common.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;