diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-07 17:33:13 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-07 17:33:13 +0000 |
commit | 7f0c959ddc4210b845069b2eae3c57add147f198 (patch) | |
tree | b2f5617e18dea801517e2351fad26371c2b52a89 | |
parent | 16ec3a5a8a215b5c7c9249db439a70d2504ab4e5 (diff) |
Use FBIOPAN_DISPLAY for switching between pages, seems to work for more
drivers and can be much faster.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30859 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_fbdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_fbdev.c b/libvo/vo_fbdev.c index 53fb623e2a..c1d2051725 100644 --- a/libvo/vo_fbdev.c +++ b/libvo/vo_fbdev.c @@ -1055,7 +1055,7 @@ static void flip_page(void) 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; |