summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-05-27 16:10:47 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-05-27 16:10:47 +0200
commited77b757a06e755ec37fe2ccc3928616715895b4 (patch)
tree3391a6bb3d91fa42346120da806ec1df513b6c6a /vdr.c
parent86f14230c2131e548438b2f27dbe967b105ba126 (diff)
downloadvdr-ed77b757a06e755ec37fe2ccc3928616715895b4.tar.gz
vdr-ed77b757a06e755ec37fe2ccc3928616715895b4.tar.bz2
Reduced number of remote control keys
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/vdr.c b/vdr.c
index 45d9dddb..bcda4711 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: vdr.c 1.18 2000/05/06 15:24:01 kls Exp $
+ * $Id: vdr.c 1.19 2000/05/27 15:38:35 kls Exp $
*/
#include <signal.h>
@@ -107,6 +107,10 @@ int main(int argc, char *argv[])
case osMenu: DELETENULL(Menu);
Menu = new cMenuMain(ReplayControl);
break;
+ case osRecord: DELETENULL(Menu);
+ if (!cRecordControls::Start())
+ Interface.Error("No free DVB device to record!");
+ break;
case osReplay: DELETENULL(Menu);
DELETENULL(ReplayControl);
ReplayControl = new cReplayControl;
@@ -142,11 +146,6 @@ int main(int argc, char *argv[])
channel->Switch();
}
break;
- // Instant Recording:
- case kRecord: DELETENULL(Menu);
- if (!cRecordControls::Start())
- Interface.Error("No free DVB device to record!");
- break;
// Menu Control:
case kMenu: Menu = new cMenuMain(ReplayControl); break;
// Viewing Control: