Mercurial > mplayer.hg
changeset 30817:e2285e7da27a
Use FBIOPAN_DISPLAY for switching between pages, seems to work for more
drivers and can be much faster.
author | reimar |
---|---|
date | Sun, 07 Mar 2010 17:33:13 +0000 |
parents | a833af23a3be |
children | 69b726e5f398 |
files | libvo/vo_fbdev.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Sun Mar 07 15:55:52 2010 +0000 +++ b/libvo/vo_fbdev.c Sun Mar 07 17:33:13 2010 +0000 @@ -1055,7 +1055,7 @@ return; fb_vinfo.yoffset = fb_page * fb_yres; - ioctl(fb_dev_fd, FBIOPUT_VSCREENINFO, &fb_vinfo); + ioctl(fb_dev_fd, FBIOPAN_DISPLAY, &fb_vinfo); center += page_delta * fb_yres * fb_line_len; fb_page = next_page;