summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-02-12 03:23:15 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-02-12 03:24:49 (GMT)
commita7c882063052f53f0ba12cc8ea4b538fd744f5f2 (patch)
tree176aeb7a62e748d3fa35bd8fe990c2399a8d600f
parent0ddc3f2678a052d216ed76bc52b34e4ea7f7ac10 (diff)
Don't check whether there are pending events in the TV playback loop.
Initial feedback suggests this is the cause of recent playback issues on certain OS X builds. It appears that on some Qt builds hasPendingEvents is always returning false and hence we never return to the main event loop. The OS then believes the app is unresponsive to external events and throws up the Spinning Beach Ball of Death. (cherry picked from commit 9ef29d1e674bc17abf7dfb9cce85d140f912e322)
-rw-r--r--mythtv/libs/libmythtv/tv_play.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index d7b1266..283f4c4 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -368,8 +368,7 @@ bool TV::StartTV(ProgramInfo *tvrec, uint flags)
while (true)
{
- if (qApp->hasPendingEvents())
- qApp->processEvents();
+ qApp->processEvents();
TVState state = tv->GetState(0);
if ((kState_Error == state) || (kState_None == state))