summaryrefslogtreecommitdiff
path: root/drivers/media/common/videobuf2
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2023-11-30 15:58:11 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-12-09 09:31:20 +0300
commit3f1faa154a4316b1b585a25394697504b3c24e98 (patch)
treea600e2c8ffc10c77b834606481ed7f9e33728821 /drivers/media/common/videobuf2
parent0d75bb6ae127f5e3fd0e2239714908fd2038193d (diff)
downloadlinux-3f1faa154a4316b1b585a25394697504b3c24e98.tar.xz
media: bttv: add back vbi hack
The old (now removed) videobuf framework had an optional vbi hack where the sequence number of the frame counter was copied in the last 4 bytes of the buffer. This hack was active only for the read() interface (so not for streaming I/O), and it was enabled by bttv. This allowed applications that used read() for the VBI data to match it with the corresponding video frame. When bttv was converted to vb2 this hack was forgotten, but some old applications rely on this. So add this back, but this time in the bttv driver rather than in the vb2 framework. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Fixes: b7ec3212a73a ("media: bttv: convert to vb2") Tested-by: Dr. David Alan Gilbert <dave@treblig.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/common/videobuf2')
0 files changed, 0 insertions, 0 deletions