1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Changed the default return value of cEpgHandler::BeginSegmentTransfer() to true

This commit is contained in:
Klaus Schmidinger 2017-05-09 09:20:34 +02:00
parent b76601482f
commit dbcea07600
3 changed files with 7 additions and 2 deletions

View File

@ -3022,6 +3022,8 @@ Frank Neumann <fnu@yavdr.org>
for adding support for "Satellite Channel Routing" (SCR) according to EN50607 ("JESS")
for suggesting to make the Setup/CAM menu display which device an individual CAM
is currently assigned to
for reporting a problem with the default return value of cEpgHandler::BeginSegmentTransfer()
in derived classes that don't implement this function
Gerald Dachs <vdr@dachsweb.de>
for reporting a problem with checking for minimum line length of 21 characters in

View File

@ -9012,3 +9012,6 @@ Video Disk Recorder Revision History
- When selecting a device/CAM combination for live viewing, CAMs that are known to decrypt
the requested channel are now given a higher priority than prefering the primary device
(reported by Christian Winkler).
- Changed the default return value of cEpgHandler::BeginSegmentTransfer() to true, to
avoid problems with derived classes that don't implement this function (reported by
Frank Neumann).

4
epg.h
View File

@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
* $Id: epg.h 4.4 2017/04/02 11:22:21 kls Exp $
* $Id: epg.h 4.5 2017/05/09 09:16:29 kls Exp $
*/
#ifndef __EPG_H
@ -284,7 +284,7 @@ public:
virtual bool DropOutdated(cSchedule *Schedule, time_t SegmentStart, time_t SegmentEnd, uchar TableID, uchar Version) { return false; }
///< Takes a look at all EPG events between SegmentStart and SegmentEnd and
///< drops outdated events.
virtual bool BeginSegmentTransfer(const cChannel *Channel, bool Dummy) { return false; } // TODO remove obsolete Dummy
virtual bool BeginSegmentTransfer(const cChannel *Channel, bool Dummy) { return true; } // TODO remove obsolete Dummy
///< Called directly after IgnoreChannel() before any other handler method is called.
///< Designed to give handlers the possibility to prepare a database transaction.
///< If any EPG handler returns false in this function, it is assumed that