Ticket #9819: mythtv-9819-0.24-fixes-use_dispatch_for_sendPlaybackStart_and_End.patch

File mythtv-9819-0.24-fixes-use_dispatch_for_sendPlaybackStart_and_End.patch, 655 bytes (added by sphery, 13 years ago)

Completely untested (not even compile-tested) patch for 0.24-fixes to potentially fix the issue. (Same changes would be required in master, but files have been moved.)

  • mythtv/libs/libmyth/util.cpp

    diff --git a/mythtv/libs/libmyth/util.cpp b/mythtv/libs/libmyth/util.cpp
    index c5358b0..08c1959 100644
    a b QString getSymlinkTarget(const QString &start_file, 
    10371037void sendPlaybackStart(void)
    10381038{
    10391039    MythEvent me(QString("PLAYBACK_START %1").arg(gCoreContext->GetHostName()));
    1040     gCoreContext->dispatchNow(me);
     1040    gCoreContext->dispatch(me);
    10411041}
    10421042
    10431043void sendPlaybackEnd(void)
    10441044{
    10451045    MythEvent me(QString("PLAYBACK_END %1").arg(gCoreContext->GetHostName()));
    1046     gCoreContext->dispatchNow(me);
     1046    gCoreContext->dispatch(me);
    10471047}
    10481048
    10491049bool IsMACAddress(QString MAC)