summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-05-01 13:06:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-05-01 13:06:32 +0200
commit84b8ea8395c77a66418c32dabf159abca75c09d5 (patch)
tree6425cb79248ed81b8a5c1009d9a98491a25b9e0a /device.c
parent9491948f04d20f86133dbe8cf8dbd6997aeb5b62 (diff)
downloadvdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.gz
vdr-84b8ea8395c77a66418c32dabf159abca75c09d5.tar.bz2
Log messages about switching channels now include the channel ID
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index 185565b5..21f98644 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 4.16 2017/05/01 09:24:49 kls Exp $
+ * $Id: device.c 4.17 2017/05/01 13:00:57 kls Exp $
*/
#include "device.h"
@@ -782,7 +782,7 @@ bool cDevice::MaySwitchTransponder(const cChannel *Channel) const
bool cDevice::SwitchChannel(const cChannel *Channel, bool LiveView)
{
if (LiveView) {
- isyslog("switching to channel %d (%s)", Channel->Number(), Channel->Name());
+ isyslog("switching to channel %d %s (%s)", Channel->Number(), *Channel->GetChannelID().ToString(), Channel->Name());
cControl::Shutdown(); // prevents old channel from being shown too long if GetDevice() takes longer
}
for (int i = 3; i--;) {