aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2010-02-06 00:12:33 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:11:06 -0500
commit91b5b489c5ea0fb206922f1bfbd0bd843b6f326f (patch)
tree9731880b71dbee18081536236beee21df6b71223 /drivers/media
parent6e9313755aacdb9fd4eec58cbd9653212e2e2cdc (diff)
V4L/DVB: pvrusb2: Reduce encoder quiet period
After implementing a 300msec wait between digitizer start and encoder start, it has been determined that we don't need to wait quite as long before configuring the encoder. This reduces the wait period from 100msec back to 50msec. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 79b2a544ccba..8b4c3c9a723e 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -53,10 +53,8 @@
53#define TIME_MSEC_DECODER_STABILIZATION_WAIT 300 53#define TIME_MSEC_DECODER_STABILIZATION_WAIT 300
54 54
55/* This defines a minimum interval that the encoder must remain quiet 55/* This defines a minimum interval that the encoder must remain quiet
56 before we are allowed to configure it. I had this originally set to 56 before we are allowed to configure it. */
57 50msec, but Martin Dauskardt <martin.dauskardt@gmx.de> reports that 57#define TIME_MSEC_ENCODER_WAIT 50
58 things work better when it's set to 100msec. */
59#define TIME_MSEC_ENCODER_WAIT 100
60 58
61/* This defines the minimum interval that the encoder must successfully run 59/* This defines the minimum interval that the encoder must successfully run
62 before we consider that the encoder has run at least once since its 60 before we consider that the encoder has run at least once since its