# HG changeset patch # User arpi # Date 1033989980 0 # Node ID 7e8193475ddf5eb93adae1a01b36f2832cc6faf6 # Parent 90e16aa8ae5f0dcc57cca0e77dfa18f5dccb683e a small fix for vo_vesa, when calling set_refresh, when -nofs used. patch by Rudolf Marek diff -r 90e16aa8ae5f -r 7e8193475ddf libvo/vo_vesa.c --- a/libvo/vo_vesa.c Mon Oct 07 10:46:01 2002 +0000 +++ b/libvo/vo_vesa.c Mon Oct 07 11:26:20 2002 +0000 @@ -13,7 +13,6 @@ - hw YUV support (need volunteers who have corresponding hardware) - triple buffering (if it will really speedup playback). note: triple buffering requires VBE 3.0 - need volunteers. - - refresh rate support (need additional info from mplayer) */ #include "config.h" #include "gtf.h" @@ -906,7 +905,7 @@ if (((int)(vib.VESAVersion >> 8) & 0xff) > 2) { - if (set_refresh(dstW,dstH,video_mode,&crtc_pass)) + if (set_refresh(video_mode_info.XResolution,video_mode_info.YResolution,video_mode,&crtc_pass)) video_mode = video_mode | 0x800; }