a small fix for vo_vesa, when calling set_refresh, when -nofs used.

patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7651 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-10-07 11:26:20 +00:00
parent f8e93e8037
commit 7147ea6aa6
1 changed files with 1 additions and 2 deletions

View File

@ -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 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
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;
}