diff options
| author | phintuka <phintuka> | 2010-02-23 12:18:47 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2010-02-23 12:18:47 +0000 |
| commit | 9e9176af02487b51278f020cad4182759dab155d (patch) | |
| tree | 12d2dd5876648f501e42487253bc6f4be6eb864e | |
| parent | 669526b66bfe123350b64ae8109243b65a378e93 (diff) | |
| download | xineliboutput-9e9176af02487b51278f020cad4182759dab155d.tar.gz xineliboutput-9e9176af02487b51278f020cad4182759dab155d.tar.bz2 | |
Fixed handling of kBack in DVD player
(Reported by Marco Skambracks)
| -rw-r--r-- | media_player.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/media_player.c b/media_player.c index 3ed5390a..4c80722b 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.73 2010-02-18 18:34:11 phintuka Exp $ + * $Id: media_player.c,v 1.74 2010-02-23 12:18:47 phintuka Exp $ * */ @@ -1000,9 +1000,14 @@ eOSState cXinelibDvdPlayerControl::ProcessKey(eKeys Key) Show(); } break; - case kBack: xc.main_menu_mode = m_Mode; - Hide(); - Close(); + case kBack: if (config_t::IsDvdImage(m_Player->File())) { + xc.main_menu_mode = m_Mode; + } else { + xc.main_menu_mode = ShowMenu; + } + Hide(); + Close(); + BackToMenu(); return osEnd; default: break; } |
