diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-07 11:26:20 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-07 11:26:20 +0000 |
commit | 7147ea6aa62f6b03a157500d38751332e47d3f55 (patch) | |
tree | d05a9c6d9aef5d8e8c80da3649d2e89a87b34a2e /libvo | |
parent | f8e93e8037402c154827696bf04cbd41f3f21a48 (diff) | |
download | mpv-7147ea6aa62f6b03a157500d38751332e47d3f55.tar.bz2 mpv-7147ea6aa62f6b03a157500d38751332e47d3f55.tar.xz |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_vesa.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index fc17b53c9e..02f8b1c3df 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -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; } |