Skip to content

Commit

Permalink
Quit video playback when pressing esc on the OSD in paused mode.
Browse files Browse the repository at this point in the history
Fixes xbmc#881
  • Loading branch information
Tobias Hieta committed Dec 7, 2013
1 parent 99afa88 commit dc1c943
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/video/dialogs/GUIDialogVideoOSD.cpp
Expand Up @@ -73,7 +73,10 @@ bool CGUIDialogVideoOSD::OnAction(const CAction &action)

/* PLEX */
if (action.GetID() == ACTION_NAV_BACK && (m_openedFromPause || g_application.IsPaused()))
{
g_application.StopPlaying();
return true;
}
if (action.GetID() == ACTION_SHOW_CODEC || action.GetID() == ACTION_SHOW_INFO)
return true;
/* END PLEX */
Expand Down

0 comments on commit dc1c943

Please sign in to comment.