Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Increase kMaxUIWaitTime to 10 seconds. The theory is that this timeou…
…t 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

(cherry picked from commit 6c3a799)
  • Loading branch information
stuartm committed Mar 5, 2012
1 parent 0f6bb92 commit 3449b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythfrontend/playbackbox.cpp
Expand Up @@ -3969,7 +3969,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 =
Expand Down

0 comments on commit 3449b0f

Please sign in to comment.