Skip to content

Commit 91b5b48

Browse files
Mike IselyMauro Carvalho Chehab
authored andcommitted
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>
1 parent 6e93137 commit 91b5b48

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎drivers/media/video/pvrusb2/pvrusb2-hdw.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@
5353
#define TIME_MSEC_DECODER_STABILIZATION_WAIT 300
5454

5555
/* 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
57-
50msec, but Martin Dauskardt <martin.dauskardt@gmx.de> reports that
58-
things work better when it's set to 100msec. */
59-
#define TIME_MSEC_ENCODER_WAIT 100
56+
before we are allowed to configure it. */
57+
#define TIME_MSEC_ENCODER_WAIT 50
6058

6159
/* This defines the minimum interval that the encoder must successfully run
6260
before we consider that the encoder has run at least once since its

0 commit comments

Comments
 (0)