Commit c014ec90 authored by Jean Delvare's avatar Jean Delvare Committed by Mauro Carvalho Chehab

V4L/DVB (8957): zr36067: Restore the default pixel format

Restore the default pixel format to YUYV as it used to be before
kernel 2.6.23. It was accidentally changed to BGR3 by commit
603d6f2c.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c37396c1
...@@ -988,7 +988,7 @@ zoran_open_init_params (struct zoran *zr) ...@@ -988,7 +988,7 @@ zoran_open_init_params (struct zoran *zr)
zr->v4l_grab_seq = 0; zr->v4l_grab_seq = 0;
zr->v4l_settings.width = 192; zr->v4l_settings.width = 192;
zr->v4l_settings.height = 144; zr->v4l_settings.height = 144;
zr->v4l_settings.format = &zoran_formats[4]; /* YUY2 - YUV-4:2:2 packed */ zr->v4l_settings.format = &zoran_formats[7]; /* YUY2 - YUV-4:2:2 packed */
zr->v4l_settings.bytesperline = zr->v4l_settings.bytesperline =
zr->v4l_settings.width * zr->v4l_settings.width *
((zr->v4l_settings.format->depth + 7) / 8); ((zr->v4l_settings.format->depth + 7) / 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment