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:23:15 (GMT)
commit9ef29d1e674bc17abf7dfb9cce85d140f912e322 (patch)
treed5381ef5983a4e208b9bea18e31b1df5acf7d79b
parent1cea35b921cc8274960bc7d7bb32fdf9794a7c60 (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.
-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 d3b1b0e..316cf04 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -300,8 +300,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))