1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Modified behavior of Play/Pause key in fast and slow modes

This commit is contained in:
Klaus Schmidinger 2012-12-06 11:08:56 +01:00
parent 9a0236b9e2
commit dbb6c29cff

5
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menu.h"
@ -4875,6 +4875,9 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
bool Play, Forward; bool Play, Forward;
int Speed; int Speed;
GetReplayMode(Play, Forward, Speed); GetReplayMode(Play, Forward, Speed);
if (Speed >= 0)
Key = Play ? kPlay : kPause;
else
Key = Play ? kPause : kPlay; Key = Play ? kPause : kPlay;
} }
bool DoShowMode = true; bool DoShowMode = true;