mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Setting RCU channel display when recording on primary dvbapi
This commit is contained in:
parent
eff7aa4a3d
commit
bc44196ee5
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: interface.c 1.7 2000/05/01 10:11:26 kls Exp $
|
||||
* $Id: interface.c 1.8 2000/05/06 15:24:18 kls Exp $
|
||||
*/
|
||||
|
||||
#include "interface.h"
|
||||
@ -321,7 +321,7 @@ void cInterface::DisplayChannel(int Number, const char *Name)
|
||||
#ifndef DEBUG_REMOTE
|
||||
RcIo.Number(Number);
|
||||
#endif
|
||||
if (Name) {
|
||||
if (Name && !Recording()) {
|
||||
Open(MenuColumns, 1);
|
||||
char buffer[MenuColumns + 1];
|
||||
snprintf(buffer, sizeof(buffer), "%d %s", Number, Name ? Name : "");
|
||||
|
4
vdr.c
4
vdr.c
@ -22,7 +22,7 @@
|
||||
*
|
||||
* The project's page is at http://www.cadsoft.de/people/kls/vdr
|
||||
*
|
||||
* $Id: vdr.c 1.17 2000/05/01 15:24:56 kls Exp $
|
||||
* $Id: vdr.c 1.18 2000/05/06 15:24:01 kls Exp $
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
@ -76,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
while (!Interrupted) {
|
||||
// Channel display:
|
||||
if (CurrentChannel != LastChannel) {
|
||||
if (!Menu && !Interface.Recording()) {
|
||||
if (!Menu) {
|
||||
cChannel *channel = Channels.Get(CurrentChannel);
|
||||
if (channel)
|
||||
Interface.DisplayChannel(CurrentChannel + 1, channel->name);
|
||||
|
Loading…
Reference in New Issue
Block a user