diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-23 17:48:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-09-14 13:13:40 -0300 |
commit | 5614b02143171a99e0e6eb6c7d1d2f8750d2957f (patch) | |
tree | d282d9a88bb11694e548040953bddb8321cf0abf /drivers/media/video/vivi.c | |
parent | 19299b1a722198830e39264a0f2edadd3fde74c2 (diff) |
V4L/DVB (6095): ivtv: fix VIDIOC_G_ENC_INDEX flag handling
Due to a documentation bug (the type mask is 3 bits long, not 2) the wrong
frame types were filled in: the B and P frame types were swapped.
This bug also hid a second bug: when a capture is stopped a last entry is
written into the pgm index buffer with internal type 0, denoting the end
of the program. This entry wasn't ignored, instead it was accidentally
returned to the caller as a P frame.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/vivi.c')
0 files changed, 0 insertions, 0 deletions