mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
cDevice now logs the device number when a new device is created
This commit is contained in:
parent
37850dfa87
commit
0bfc5e2f71
1
HISTORY
1
HISTORY
@ -6224,3 +6224,4 @@ Video Disk Recorder Revision History
|
|||||||
to a given code (thanks to Joachim Wilke).
|
to a given code (thanks to Joachim Wilke).
|
||||||
- Channel names containing commas are now handled correctly in channels.conf.
|
- Channel names containing commas are now handled correctly in channels.conf.
|
||||||
If a channel's short name contains a comma, it is replaced with a '.'.
|
If a channel's short name contains a comma, it is replaced with a '.'.
|
||||||
|
- cDevice now logs the device number when a new device is created.
|
||||||
|
3
device.c
3
device.c
@ -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: device.c 2.27 2009/12/05 15:52:54 kls Exp $
|
* $Id: device.c 2.28 2009/12/24 11:13:53 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "device.h"
|
#include "device.h"
|
||||||
@ -64,6 +64,7 @@ cDevice::cDevice(void)
|
|||||||
:patPmtParser(true)
|
:patPmtParser(true)
|
||||||
{
|
{
|
||||||
cardIndex = nextCardIndex++;
|
cardIndex = nextCardIndex++;
|
||||||
|
dsyslog("new device number %d", CardIndex() + 1);
|
||||||
|
|
||||||
SetDescription("receiver on device %d", CardIndex() + 1);
|
SetDescription("receiver on device %d", CardIndex() + 1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user