summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-06 11:08:56 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-06 11:08:56 +0100
commitdbb6c29cff509c51377b9b1a29e536d6f6fd40f8 (patch)
tree7146d61c780fb3d44bad84ee2cd970653e5116e5
parent9a0236b9e249f002accfb222a969be0c676115b7 (diff)
downloadvdr-dbb6c29cff509c51377b9b1a29e536d6f6fd40f8.tar.gz
vdr-dbb6c29cff509c51377b9b1a29e536d6f6fd40f8.tar.bz2
Modified behavior of Play/Pause key in fast and slow modes
-rw-r--r--menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 47db4de2..8c23b264 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.69 2012/12/05 11:36:48 kls Exp $
+ * $Id: menu.c 2.70 2012/12/06 11:08:56 kls Exp $
*/
#include "menu.h"
@@ -4875,7 +4875,10 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
bool Play, Forward;
int Speed;
GetReplayMode(Play, Forward, Speed);
- Key = Play ? kPause : kPlay;
+ if (Speed >= 0)
+ Key = Play ? kPlay : kPause;
+ else
+ Key = Play ? kPause : kPlay;
}
bool DoShowMode = true;
switch (int(Key)) {