summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-23 22:48:41 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-08-23 22:48:41 +0200
commit73ceaceacfbbd76bdf9c39db4b5762fc68b82834 (patch)
treed520363e1d3e093cdd8add5934b103d9fd9aae3d /linux/drivers/media/dvb
parent7ac202b371d6244773f1d66180b4d3080de8c042 (diff)
downloadmediapointer-dvb-s2-73ceaceacfbbd76bdf9c39db4b5762fc68b82834.tar.gz
mediapointer-dvb-s2-73ceaceacfbbd76bdf9c39db4b5762fc68b82834.tar.bz2
ivtv: fix VIDIOC_G_ENC_INDEX flag handling
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux/drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions