Browse files

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.
  • Loading branch information...
1 parent 1cea35b commit 9ef29d1e674bc17abf7dfb9cce85d140f912e322 Mark Kendall committed Feb 12, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 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))

0 comments on commit 9ef29d1

Please sign in to comment.