Browse files

Make jump points work during playback when the OSD is present.

This works by sending an EXIT_TO_MENU event at the start of jump point
execution.  Any existing TV playback instance will receive this message
and manually shut down playback, including tearing down the OSD.

This is not the fully general solution desired, but it is a big
improvement until then.

One issue is that an editing session is not shut down cleanly.  That
will be addressed in a subsequent commit.

Refs #7939
  • Loading branch information...
stichnot committed Feb 24, 2012
1 parent d59f4f4 commit 307dac8776d54a5d104da1b8f8c046039ed1d143
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythtv/libs/libmythui/mythmainwindow.cpp
@@ -1439,6 +1439,8 @@ void MythMainWindow::ExitToMainMenu(void)
MythScreenStack *toplevel = GetMainStack();
if (toplevel && d->popwindows)
+ MythEvent xe("EXIT_TO_MENU");
+ gCoreContext->dispatch(xe);
MythScreenType *screen = toplevel->GetTopScreen();
if (screen && screen->objectName() != QString("mainmenu"))

0 comments on commit 307dac8

Please sign in to comment.