summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mga.c
diff options
context:
space:
mode:
authorrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 18:58:42 +0000
committerrfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-05 18:58:42 +0000
commitc1a516894c67d2f55b34a806d43f534f92adb75d (patch)
treeeb2c79acc4a5c2e8612ff497239ac5b6f20ba752 /libvo/vo_mga.c
parent8c9b41e72a2dea564512c31e15f5f72c663fd49c (diff)
downloadmpv-c1a516894c67d2f55b34a806d43f534f92adb75d.tar.bz2
mpv-c1a516894c67d2f55b34a806d43f534f92adb75d.tar.xz
fullscreen toggle for vo_mga
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5988 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_mga.c')
-rw-r--r--libvo/vo_mga.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c
index 1bf4dd1982..f77e939568 100644
--- a/libvo/vo_mga.c
+++ b/libvo/vo_mga.c
@@ -84,10 +84,13 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
aspect_save_prescale(d_width,d_height);
aspect_save_screenres(vo_screenwidth,vo_screenheight);
- if(fullscreen&0x01) /* -fs */
+ if(fullscreen&0x01) { /* -fs */
aspect(&d_width,&d_height,A_ZOOM);
- else
+ vo_fs = VO_TRUE;
+ } else {
aspect(&d_width,&d_height,A_NOZOOM);
+ vo_fs = VO_FALSE;
+ }
printf("vo_mga aspect(): resized to %dx%d\n",d_width,d_height);
}