Permalink
Browse files

Change preview timeout to 30s

Silly me, the timeout to myth_system is in seconds.  Rather than delaying 5s
as I intended...  I had 5000s, and now it's at 30s, which gives slower boxes
more time to respond.
  • Loading branch information...
1 parent 38456f1 commit 5b046b4cf2bc88e03d4eeb9a2cb47d79c6c9d0df @Beirdo Beirdo committed Jun 20, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/previewgenerator.cpp
View
4 mythtv/libs/libmythtv/previewgenerator.cpp
@@ -243,10 +243,10 @@ bool PreviewGenerator::Run(void)
command += " --quiet";
- // Timeout in 5s
+ // Timeout in 30s
uint ret = myth_system(command, kMSDontBlockInputDevs |
kMSDontDisableDrawing |
- kMSProcessEvents, 5000);
+ kMSProcessEvents, 30);
if (ret != GENERIC_EXIT_OK)
{
VERBOSE(VB_IMPORTANT, LOC_ERR +

0 comments on commit 5b046b4

Please sign in to comment.