Skip to content
Permalink
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.
(cherry picked from commit 9ef29d1)
  • Loading branch information
Mark Kendall
Mark Kendall committed Feb 12, 2011
1 parent 0ddc3f2 commit a7c882063052f53f0ba12cc8ea4b538fd744f5f2
Showing with 1 addition and 2 deletions.
  1. +1 −2 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))

0 comments on commit a7c8820

Please sign in to comment.
You can’t perform that action at this time.