mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Timers now accept channel IDs even if the 'source' is 0
This commit is contained in:
parent
7fcfd58f3c
commit
498db82e98
@ -160,6 +160,7 @@ Stefan Huelswitt <huels@iname.com>
|
|||||||
for helping to fix switching audio tracks in 'Transfer Mode' on the primary DVB device
|
for helping to fix switching audio tracks in 'Transfer Mode' on the primary DVB device
|
||||||
for fixing handling 'Transfer Mode' on single device systems when recording an
|
for fixing handling 'Transfer Mode' on single device systems when recording an
|
||||||
encrypted channel
|
encrypted channel
|
||||||
|
for reporting a problem with timers when channel IDs have a 'source' that is 0
|
||||||
|
|
||||||
Ulrich Röder <roeder@efr-net.de>
|
Ulrich Röder <roeder@efr-net.de>
|
||||||
for pointing out that there are channels that have a symbol rate higher than
|
for pointing out that there are channels that have a symbol rate higher than
|
||||||
|
2
HISTORY
2
HISTORY
@ -1827,3 +1827,5 @@ Video Disk Recorder Revision History
|
|||||||
- Removed transponders 10788, 11739 and 12266 from 'channels.conf' (apparently they
|
- Removed transponders 10788, 11739 and 12266 from 'channels.conf' (apparently they
|
||||||
are no longer active).
|
are no longer active).
|
||||||
- Deactivated some templates in tools.h in case some plugin needs to use the STL.
|
- Deactivated some templates in tools.h in case some plugin needs to use the STL.
|
||||||
|
- Timers now accept channel IDs even if the 'source' is 0 (thanks to Stefan Huelswitt
|
||||||
|
for reporting this one).
|
||||||
|
@ -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: channels.h 1.5 2002/11/24 14:27:51 kls Exp $
|
* $Id: channels.h 1.6 2002/11/30 12:59:05 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CHANNELS_H
|
#ifndef __CHANNELS_H
|
||||||
@ -46,7 +46,7 @@ public:
|
|||||||
tChannelID(void) { source = nid = tid = sid = rid = 0; }
|
tChannelID(void) { source = nid = tid = sid = rid = 0; }
|
||||||
tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; }
|
tChannelID(int Source, int Nid, int Tid, int Sid, int Rid = 0) { source = Source; nid = Nid; tid = Tid; sid = Sid; rid = Rid; }
|
||||||
bool operator== (const tChannelID &arg) const;
|
bool operator== (const tChannelID &arg) const;
|
||||||
bool Valid(void) { return source && tid && sid; } // nid and rid are optional
|
bool Valid(void) { return tid && sid; } // nid and rid are optional and source may be 0
|
||||||
tChannelID &ClrRid(void) { rid = 0; return *this; }
|
tChannelID &ClrRid(void) { rid = 0; return *this; }
|
||||||
static tChannelID FromString(const char *s);
|
static tChannelID FromString(const char *s);
|
||||||
const char *ToString(void);
|
const char *ToString(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user