summaryrefslogtreecommitdiff
path: root/osm.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-22 09:56:33 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-22 09:56:33 +0200
commitec9cb35acb536540003caed72b56156b960458d5 (patch)
tree264a7c31f4f9ce6e01138b7b166e6e9e17a46606 /osm.c
parent38f799579d63af92450dbc2504057fbf21cd469e (diff)
downloadvdr-ec9cb35acb536540003caed72b56156b960458d5.tar.gz
vdr-ec9cb35acb536540003caed72b56156b960458d5.tar.bz2
Direct channel select immediately displays entered digits on LED display
Diffstat (limited to 'osm.c')
-rw-r--r--osm.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/osm.c b/osm.c
index db526d9c..021d71ac 100644
--- a/osm.c
+++ b/osm.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: osm.c 1.5 2000/04/16 15:50:21 kls Exp $
+ * $Id: osm.c 1.6 2000/04/22 09:56:33 kls Exp $
*/
#include <signal.h>
@@ -71,6 +71,7 @@ int main(int argc, char *argv[])
while (!Interrupted) {
// Direct Channel Select (action):
if (dcNumber) {
+ Interface.DisplayChannel(dcNumber);
if (time_ms() - dcTime > DIRECTCHANNELTIMEOUT) {
cChannel::SwitchTo(dcNumber - 1);
dcNumber = 0;
@@ -120,8 +121,10 @@ int main(int argc, char *argv[])
// Direct Channel Select (input):
case k0: case k1: case k2: case k3: case k4: case k5: case k6: case k7: case k8: case k9:
{
- dcNumber = dcNumber * 10 + key - k0;
- dcTime = time_ms();
+ if (!DvbApi.Recording()) {
+ dcNumber = dcNumber * 10 + key - k0;
+ dcTime = time_ms();
+ }
}
// Record/Replay Control:
case kBegin: DvbApi.Skip(-INT_MAX); break;