summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-21 12:50:45 +0000
committernick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-21 12:50:45 +0000
commitda677ba40f442bac7ea64b58c88d0780ea374041 (patch)
treedc38e1edfd950b6e07c6fbf3c41d42e2dd3f9cb4 /libvo
parentcdeb0b0380493418b6b611eb2f8c21bf723658c0 (diff)
downloadmpv-da677ba40f442bac7ea64b58c88d0780ea374041.tar.bz2
mpv-da677ba40f442bac7ea64b58c88d0780ea374041.tar.xz
Replacing -x, -y on -screenw, -screenh
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2334 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_vesa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index 3bc3ea739a..65c2845087 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -434,8 +434,8 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3
printf("\nvo_vesa: Modes in detail:\n");
}
mode_ptr = vib.VideoModePtr;
- w = d_width ? d_width : width;
- h = d_height ? d_height : height;
+ w = vo_screenwidth ? vo_screenwidth : width;
+ h = vo_screenheight ? vo_screenheight : height;
for(i=0;i < num_modes;i++)
{
if((err=vbeGetModeInfo(mode_ptr[i],&vmib)) != VBE_OK)