changeset 7650:7e8193475ddf

a small fix for vo_vesa, when calling set_refresh, when -nofs used. patch by Rudolf Marek <MAREKR2@cs.felk.cvut.cz>
author arpi
date Mon, 07 Oct 2002 11:26:20 +0000
parents 90e16aa8ae5f
children 9bb9ce641684
files libvo/vo_vesa.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 		
 		}