diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-03 09:30:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-08-03 09:30:18 -0300 |
commit | 29db00b6ccfe7409a283a24c4781a797d62c2860 (patch) | |
tree | 71affe346aae66df1ffa32a7fc93b3660dfe886a /linux/drivers/media/video | |
parent | 5d240a7d7f05be93610bae704a8bb4415907d247 (diff) | |
download | mediapointer-dvb-s2-29db00b6ccfe7409a283a24c4781a797d62c2860.tar.gz mediapointer-dvb-s2-29db00b6ccfe7409a283a24c4781a797d62c2860.tar.bz2 |
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/v4l1-compat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/video/v4l1-compat.c b/linux/drivers/media/video/v4l1-compat.c index 9b5d7e0c0..decf7069b 100644 --- a/linux/drivers/media/video/v4l1-compat.c +++ b/linux/drivers/media/video/v4l1-compat.c @@ -611,9 +611,8 @@ v4l_compat_translate_ioctl(struct inode *inode, dprintk("VIDIOCGPICT / VIDIOC_G_FMT: %d\n",err); break; } -#if 0 /* FIXME */ - pict->depth = fmt2->fmt.pix.depth; -#endif + + pict->depth = (fmt2->fmt.pix.bytesperline/fmt2->fmt.pix.width) << 3; pict->palette = pixelformat_to_palette( fmt2->fmt.pix.pixelformat); break; |