2 #include "../loader/realfuncs.h"
8 static struct vout_fbdev *fbdev;
10 int host_video_init(int *stride, int no_dblbuf)
12 const char *fbdev_name;
15 fbdev_name = getenv("FBDEV");
16 if (fbdev_name == NULL)
17 fbdev_name = "/dev/fb1";
19 fbdev = vout_fbdev_init(fbdev_name, &w, &h, no_dblbuf);
21 return (fbdev != 0) ? 0 : -1;
24 void *host_video_flip(void)
26 return vout_fbdev_flip(fbdev);