mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling the channelID in cMenuEditChanItem
This commit is contained in:
parent
2c2ed53adf
commit
b863d9a702
@ -1701,6 +1701,7 @@ Udo Richter <udo_richter@gmx.de>
|
||||
for a patch to "Made updating the editing marks during replay react faster in case
|
||||
the marks file has just been written"
|
||||
for suggesting a fix for a bug in handling DiSEqC codes
|
||||
for fixing handling the channelID in cMenuEditChanItem
|
||||
|
||||
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
||||
for his help in keeping 'channels.conf.terr' up to date
|
||||
|
3
HISTORY
3
HISTORY
@ -6650,7 +6650,7 @@ Video Disk Recorder Revision History
|
||||
- Added support for "content identifier descriptor" and "default authority descriptor"
|
||||
to 'libsi' (thanks to Dave Pickles).
|
||||
|
||||
2011-08-07: Version 1.7.20
|
||||
2011-08-12: Version 1.7.20
|
||||
|
||||
- Added some missing 'const' to tChannelID (reported by Sundararaj Reel).
|
||||
- The isnumber() function now checks the given pointer for NULL (thanks to Holger
|
||||
@ -6673,3 +6673,4 @@ Video Disk Recorder Revision History
|
||||
not yet known when a new payload starts. This adds no overhead for channels
|
||||
that broadcast the frame type within the first TS packet of a payload; it only
|
||||
kicks in if that information is not in the first TS packet.
|
||||
- Fixed handling the channelID in cMenuEditChanItem (thanks to Udo Richter).
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: menuitems.c 2.9 2011/06/13 14:48:41 kls Exp $
|
||||
* $Id: menuitems.c 2.10 2011/08/12 13:19:40 kls Exp $
|
||||
*/
|
||||
|
||||
#include "menuitems.h"
|
||||
@ -736,9 +736,14 @@ void cMenuEditChanItem::Set(void)
|
||||
cChannel *channel = Channels.GetByNumber(*value);
|
||||
snprintf(buf, sizeof(buf), "%d %s", *value, channel ? channel->Name() : "");
|
||||
SetValue(buf);
|
||||
if (channelID)
|
||||
*channelID = channel->GetChannelID().ToString();
|
||||
}
|
||||
else if (noneString)
|
||||
else if (noneString) {
|
||||
SetValue(noneString);
|
||||
if (channelID)
|
||||
*channelID = "";
|
||||
}
|
||||
}
|
||||
|
||||
eOSState cMenuEditChanItem::ProcessKey(eKeys Key)
|
||||
|
Loading…
Reference in New Issue
Block a user