summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/gspca.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-11-13 13:38:16 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 23:41:59 +0300
commit3ec342f25004c87c0d94de1bc1b5399685d58ad8 (patch)
tree9a6074b40aad08dd16f12186599a85be7b44b8c6 /drivers/media/video/gspca/gspca.h
parent8157852f73f961b28d495bfa8374263d293b106d (diff)
downloadlinux-3ec342f25004c87c0d94de1bc1b5399685d58ad8.tar.xz
V4L/DVB (13451): gspca - main: Memorize the current frame buffer.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
-rw-r--r--drivers/media/video/gspca/gspca.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index d59a684056ca..59078bbf472c 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -151,6 +151,7 @@ struct gspca_dev {
__u8 *frbuf; /* buffer for nframes */
struct gspca_frame frame[GSPCA_MAX_FRAMES];
+ struct gspca_frame *cur_frame; /* frame beeing filled */
__u32 frsz; /* frame size */
char nframes; /* number of frames */
char fr_i; /* frame being filled */