V4L/DVB (7710): pvrusb2: Implement critical digital streaming quirk for onair devices
commitd913d6303072ca194919d851e6743ad8c3a7563d
authorMike Isely <isely@pobox.com>
Sun, 6 Apr 2008 07:04:35 +0000 (6 04:04 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:48 +0000 (24 14:09 -0300)
tree95a36be460fa3de7f1be646a85bf8cb08edb2f85
parent72998b71096e364002269a8cacc0524937d479c6
V4L/DVB (7710): pvrusb2: Implement critical digital streaming quirk for onair devices

Implement timed measurement of encoder operation for the first time it
is run.  This allows the driver to note when the encoder has been run
successfully for at least 1/4 second.  On top of that implement
various bits to ensure that the encoder has been run once before
digital streaming for OnAir devices.  This is done via several core
state machine tweaks.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-encoder.c
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
drivers/media/video/pvrusb2/pvrusb2-hdw.c