fbdev: make sure color format is set
authornotaz <notasas@gmail.com>
Tue, 22 Feb 2011 12:27:43 +0000 (12:27 +0000)
committernotaz <notasas@gmail.com>
Tue, 22 Feb 2011 12:27:43 +0000 (12:27 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@918 be3aeb3a-fb24-0410-a615-afba39da0efa

platform/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;