diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-05 18:58:42 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-05 18:58:42 +0000 |
commit | c1a516894c67d2f55b34a806d43f534f92adb75d (patch) | |
tree | eb2c79acc4a5c2e8612ff497239ac5b6f20ba752 /libvo/vo_mga.c | |
parent | 8c9b41e72a2dea564512c31e15f5f72c663fd49c (diff) | |
download | mpv-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.c | 7 |
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); } |