diff options
author | Mike Isely <isely@pobox.com> | 2008-05-26 00:54:24 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2008-05-26 00:54:24 -0500 |
commit | ce76245e0388b04a9e674e8667d430cf9666c07a (patch) | |
tree | 827eff8321c76c6a54e21d83d0a0888d16162ecf /linux/drivers/media | |
parent | 8d3a9854cde432acac20528f5168f91e877c6318 (diff) | |
download | mediapointer-dvb-s2-ce76245e0388b04a9e674e8667d430cf9666c07a.tar.gz mediapointer-dvb-s2-ce76245e0388b04a9e674e8667d430cf9666c07a.tar.bz2 |
pvrusb2: Increase enforced encoder wait delay to improve reliability
From: Mike Isely <isely@pobox.com>
The driver enforces a "quiet period" on the encoder in certain
situations before attempting to operate it. This seems to help avoid
video encoding errors / corruption. The quiet period was 50msec, but
through experimentation it has been observed to improve further if the
interval is increased to 100msec.
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index d7cee1813..f78bc351f 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -45,8 +45,10 @@ #define TIME_MSEC_DECODER_WAIT 50 /* This defines a minimum interval that the encoder must remain quiet - before we are allowed to configure it. */ -#define TIME_MSEC_ENCODER_WAIT 50 + before we are allowed to configure it. I had this originally set to + 50msec, but Martin Dauskardt <martin.dauskardt@gmx.de> reports that + things work better when it's set to 100msec. */ +#define TIME_MSEC_ENCODER_WAIT 100 /* This defines the minimum interval that the encoder must successfully run before we consider that the encoder has run at least once since its |