diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-01 18:10:54 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-01 18:10:54 -0200 |
commit | aa3b895fc0f85de57a4731cee25f28ac5961ac52 (patch) | |
tree | e6c5c0f177089fe1eaa3507746bba3979735908e /linux/drivers/media/dvb/ttpci | |
parent | 0474d1f738c26830c5315f191a1a3b4340026f64 (diff) | |
download | mediapointer-dvb-s2-aa3b895fc0f85de57a4731cee25f28ac5961ac52.tar.gz mediapointer-dvb-s2-aa3b895fc0f85de57a4731cee25f28ac5961ac52.tar.bz2 |
Fix driver_test for a non-compliance on bttv driver
From: Mauro Carvalho Chehab <mchehab@infradead.org>
bttv driver presents a non-compliance: When S_FMT is called, pix.sizeimage reports
a different size than when QUERYBUF is called, for the same S_FMT.
The current code can work fine with this non-compliance, but an error should be
reported.
Those are the reports from bttv driver, by running driver-test:
FMT SET: 640x480, fourcc=YVU9, 640 bytes/line, 345600 bytes/frame, colorspace=0x00000000
<snip/>
QUERYBUF: 00:00:00.00000000 index=0, type=video-cap, bytesused=0, flags=0x00000000,
field=any, sequence=0, memory=mmap, offset=0x00000000, length=348160
TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000
QUERYBUF: ERROR: VIDIOC_S_FMT said buffer should have 345600 size, but received 348160 from QUERYBUF!
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
0 files changed, 0 insertions, 0 deletions