diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-07-22 08:45:08 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-24 00:00:38 +0200 |
commit | 06ca78fa3a77c955bd46ba3dbe529c399d260aa4 (patch) | |
tree | a80ea316d3b8e97199ad7be251b035bbc0195765 | |
parent | V4L/DVB (8440): gspca: Makes some needlessly global functions static. (diff) | |
download | linux-06ca78fa3a77c955bd46ba3dbe529c399d260aa4.tar.xz linux-06ca78fa3a77c955bd46ba3dbe529c399d260aa4.zip |
V4L/DVB (8441): gspca: Bad handling of start of frames in sonixj.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/media/video/gspca/gspca.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index f815340511e8..0f09784631ad 100644 --- a/drivers/media/video/gspca/gspca.c +++ b/drivers/media/video/gspca/gspca.c @@ -209,6 +209,8 @@ struct gspca_frame *gspca_frame_add(struct gspca_dev *gspca_dev, &frame->v4l2_buf.timestamp); frame->v4l2_buf.sequence = ++gspca_dev->sequence; } else if (gspca_dev->last_packet_type == DISCARD_PACKET) { + if (packet_type == LAST_PACKET) + gspca_dev->last_packet_type = packet_type; return frame; } |