summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStuart Morgan <smorgan@mythtv.org>2012-03-05 23:20:39 (GMT)
committer Stuart Morgan <smorgan@mythtv.org>2012-03-05 23:21:59 (GMT)
commit6c3a799706eb6f18757f8984819bf5c4c2425659 (patch)
tree3f7d894b64659f8d08f5813e597c4250e4d8d889
parentdd9a92a56329a15d6248f30bd2ef1c762c7beb72 (diff)
Increase kMaxUIWaitTime to 10 seconds. The theory is that this timeout was to prevent a very delayed response to an availability check causing playlists to resume playing long after the user had moved on. The present timeout was very short though and didn't account for delays caused by disks needing to be spun up or just the latency of checking multiple storage groups for a file. Almost certainly fixes #8316
-rw-r--r--mythtv/programs/mythfrontend/playbackbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/programs/mythfrontend/playbackbox.cpp b/mythtv/programs/mythfrontend/playbackbox.cpp
index a7495f5..0631c6d 100644
--- a/mythtv/programs/mythfrontend/playbackbox.cpp
+++ b/mythtv/programs/mythfrontend/playbackbox.cpp
@@ -4043,7 +4043,7 @@ void PlaybackBox::customEvent(QEvent *event)
}
else if (message == "AVAILABILITY" && me->ExtraDataCount() == 8)
{
- const uint kMaxUIWaitTime = 100; // ms
+ const uint kMaxUIWaitTime = 10000; // ms
QStringList list = me->ExtraDataList();
QString key = list[0];
CheckAvailabilityType cat =