From 0d327f00f213c1f1177cbb790a031004386840f1 Mon Sep 17 00:00:00 2001 From: faust3 Date: Sun, 16 Nov 2003 14:37:42 +0000 Subject: [PATCH] change vo_w32_fullscreen to behave like vo_x11_fullscreen patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11480 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/w32_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libvo/w32_common.c b/libvo/w32_common.c index ec18e42637..a6d770149a 100644 --- a/libvo/w32_common.c +++ b/libvo/w32_common.c @@ -118,8 +118,8 @@ static void changeMode(void) { 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 @@ void vo_w32_uninit() { destroyRenderingContext(); DestroyWindow(vo_hwnd); vo_hwnd = 0; + UnregisterClass(classname, 0); }