summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-16 14:37:42 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-16 14:37:42 +0000
commit0d327f00f213c1f1177cbb790a031004386840f1 (patch)
treebb9f7535165e11578781dfbd37750c3a302c713d /libvo
parent72c0c4f434535d2de7e85871b08431764772f685 (diff)
downloadmpv-0d327f00f213c1f1177cbb790a031004386840f1.tar.bz2
mpv-0d327f00f213c1f1177cbb790a031004386840f1.tar.xz
change vo_w32_fullscreen to behave like vo_x11_fullscreen patch by Reimar Doeffinger <someone-guy at gmx.de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11480 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/w32_common.c5
1 files 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);
}