aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-driver.h
diff options
context:
space:
mode:
authorIan Armstrong <ian@iarmst.demon.co.uk>2008-10-09 12:04:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 09:08:30 -0200
commit2bd7ac55c31cb4f42e331d69dde9fc034a68944f (patch)
treec2547fc93abd5e35a33ed6876faa3b3d724f4c23 /drivers/media/video/ivtv/ivtv-driver.h
parentV4L/DVB (9165): ivtv: V4L2_FBUF_FLAG_OVERLAY status fix (diff)
downloadlinux-dev-2bd7ac55c31cb4f42e331d69dde9fc034a68944f.tar.xz
linux-dev-2bd7ac55c31cb4f42e331d69dde9fc034a68944f.zip
V4L/DVB (9166): ivtv - Fix potential race condition in yuv handler
Modified yuv register update handling to remove a potential race condition which could occur with the first video frame. Also removed a forced yuv position update, since changing the source video dimensions or interlace settings doesn't affect the frame already being displayed. Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.h')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h
index be2d779dba12..bc29436e8a3c 100644
--- a/drivers/media/video/ivtv/ivtv-driver.h
+++ b/drivers/media/video/ivtv/ivtv-driver.h
@@ -506,6 +506,8 @@ struct yuv_playback_info
struct v4l2_rect main_rect;
u32 v4l2_src_w;
u32 v4l2_src_h;
+
+ u8 running; /* Have any frames been displayed */
};
#define IVTV_VBI_FRAMES 32