From: Mike Isely Date: Sat, 6 Feb 2010 05:12:33 +0000 (-0300) Subject: V4L/DVB: pvrusb2: Reduce encoder quiet period X-Git-Tag: v2.6.34-rc1~280^2~39 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=91b5b489c5ea0fb206922f1bfbd0bd843b6f326f;p=~emulex%2Finfiniband.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c index 79b2a544ccb..8b4c3c9a723 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -53,10 +53,8 @@ #define TIME_MSEC_DECODER_STABILIZATION_WAIT 300 /* This defines a minimum interval that the encoder must remain quiet - before we are allowed to configure it. I had this originally set to - 50msec, but Martin Dauskardt reports that - things work better when it's set to 100msec. */ -#define TIME_MSEC_ENCODER_WAIT 100 + before we are allowed to configure it. */ +#define TIME_MSEC_ENCODER_WAIT 50 /* This defines the minimum interval that the encoder must successfully run before we consider that the encoder has run at least once since its