summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 9c781e62..5184123c 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 2.66 2012/12/04 09:50:39 kls Exp $
+ * $Id: menu.c 2.67 2012/12/04 13:17:49 kls Exp $
*/
#include "menu.h"
@@ -2454,6 +2454,7 @@ eOSState cMenuRecordings::ProcessKey(eKeys Key)
if (state == osUnknown) {
switch (Key) {
+ case kPlayPause:
case kPlay:
case kOk: return Play();
case kRed: return (helpKeys > 1 && RecordingCommands.Count()) ? Commands() : Play();
@@ -4685,6 +4686,7 @@ void cReplayControl::TimeSearchProcess(eKeys Key)
timeSearchActive = false;
}
break;
+ case kPlayPause:
case kPlay:
case kUp:
case kPause:
@@ -4865,6 +4867,12 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
TimeSearchProcess(Key);
return osContinue;
}
+ if (Key == kPlayPause) {
+ bool Play, Forward;
+ int Speed;
+ GetReplayMode(Play, Forward, Speed);
+ Key = Play ? kPause : kPlay;
+ }
bool DoShowMode = true;
switch (int(Key)) {
// Positioning: