[MPlayer-cvslog] r30859 - trunk/libvo/vo_fbdev.c

reimar subversion at mplayerhq.hu
Sun Mar 7 18:33:13 CET 2010


Author: reimar
Date: Sun Mar  7 18:33:13 2010
New Revision: 30859

Log:
Use FBIOPAN_DISPLAY for switching between pages, seems to work for more
drivers and can be much faster.

Modified:
   trunk/libvo/vo_fbdev.c

Modified: trunk/libvo/vo_fbdev.c
==============================================================================
--- trunk/libvo/vo_fbdev.c	Sun Mar  7 16:55:52 2010	(r30858)
+++ trunk/libvo/vo_fbdev.c	Sun Mar  7 18:33:13 2010	(r30859)
@@ -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;


More information about the MPlayer-cvslog mailing list