frontend: make sure color format is set
authornotaz <notasas@gmail.com>
Tue, 22 Feb 2011 12:26:14 +0000 (14:26 +0200)
committernotaz <notasas@gmail.com>
Tue, 22 Feb 2011 12:27:01 +0000 (14:27 +0200)
frontend/linux/fbdev.c

index da73b1a..9d532a5 100644 (file)
@@ -92,6 +92,7 @@ void *vout_fbdev_resize(struct vout_fbdev *fbdev, int w, int h, int bpp,
                fbdev->fbvar_new.xoffset = left_border;
                fbdev->fbvar_new.yoffset = top_border;
                fbdev->fbvar_new.bits_per_pixel = bpp;
+               fbdev->fbvar_new.nonstd = 0; // can set YUV here on omapfb
                fbdev->buffer_count = buffer_cnt;
                fbdev->buffer_write = 1;