Mercurial > mplayer.hg
changeset 11479:5d76d070b44b
change vo_w32_fullscreen to behave like vo_x11_fullscreen patch by Reimar Doeffinger <someone-guy at gmx.de>
author | faust3 |
---|---|
date | Sun, 16 Nov 2003 14:37:42 +0000 |
parents | 27e5c86c968a |
children | 1d5205bab61a |
files | libvo/w32_common.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/w32_common.c Sun Nov 16 12:10:34 2003 +0000 +++ b/libvo/w32_common.c Sun Nov 16 14:37:42 2003 +0000 @@ -118,8 +118,8 @@ vo_screenwidth = dm.dmPelsWidth; vo_screenheight = dm.dmPelsHeight; aspect_save_screenres(vo_screenwidth, vo_screenheight); - if (vo_fs) - aspect(&vo_dwidth, &vo_dheight, A_ZOOM); + vo_dwidth = vo_screenwidth; + vo_dheight = vo_screenheight; ChangeDisplaySettings(&dm, CDS_FULLSCREEN); } @@ -264,4 +264,5 @@ destroyRenderingContext(); DestroyWindow(vo_hwnd); vo_hwnd = 0; + UnregisterClass(classname, 0); }