Skip to content

Commit

Permalink
Don't check whether there are pending events in the TV playback loop.
Browse files Browse the repository at this point in the history
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
Mark Kendall committed Feb 12, 2011
1 parent 1cea35b commit 9ef29d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -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))
Expand Down

0 comments on commit 9ef29d1

Please sign in to comment.