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.
(cherry picked from commit 9ef29d1)
  • Loading branch information
Mark Kendall committed Feb 12, 2011
1 parent 0ddc3f2 commit a7c8820
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythtv/libs/libmythtv/tv_play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a7c8820

Please sign in to comment.