diff options
author | Klaus Schmidinger <Klaus (dot) Schmidinger (at) tvdr (dot) de> | 2010-01-31 15:42:00 +0100 |
---|---|---|
committer | Klaus Schmidinger <Klaus (dot) Schmidinger (at) tvdr (dot) de> | 2010-01-31 15:42:00 +0100 |
commit | 09a17d56e2a3f975a0467e8da4ca26c946b6ccf7 (patch) | |
tree | 4ca95499f117bf8bf0a51149bb85493d93ee111e /epg.h | |
parent | 939081e274d0a9868e5ba9a7951666ad508afb96 (diff) | |
download | vdr-patch-lnbsharing-09a17d56e2a3f975a0467e8da4ca26c946b6ccf7.tar.gz vdr-patch-lnbsharing-09a17d56e2a3f975a0467e8da4ca26c946b6ccf7.tar.bz2 |
Version 1.7.12vdr-1.7.12
- Changed the EVCONTENTMASK_* macros to enums and changed "mask" to "group".
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- The "Edit timer" menu can now set the folder for the recording from a list of
folders stored in "folders.conf".
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- If svdrphosts.conf contains only the address of the local host, the SVDRP port
is opened only for the local host (thanks to Manuel Reimer).
- Renamed 'runvdr' to 'runvdr.template' and no longer copying it to the BINDIR
in 'make install' (thanks to Martin Dauskardt).
- Added plain text error messages to log entries from cOsd::SetAreas() (suggested
by Rolf Ahrenberg).
- cPalette::ClosestColor() now treats fully transparent colors as "equal"; improved
cDvbSpuBitmap::getMinBpp() (thanks to Matthieu Castet and Johann Friedrichs).
- The new setup option "Miscellaneous/Channels wrap" controls whether the current
channel wraps around the beginning or end of the channel list when zapping (thanks
to Matti Lehtimäki).
- Fixed determining the frame duration on channels where the PTS deltas jitter by
+/-1 around 1800.
- The PCR pid in generated PMTs is now set to the channel's PCR pid again.
- Fixed determining the frame duration on channels where the PTS deltas jitter by
+/-1 around 3600.
- The PCR pid is now recorded for channels where this is different from the video
PID. To facilitate this, the interfaces of cTransfer, cTransferControl, cRecorder
and cReceiver have been modified, so that the PIDs are no longer given in separate
parameters, but rather the whole channel is handed down for processing. The old
constructor of cReceiver is still available, but it is recommended to plugin authors
that they switch to the new interface as soon as possible.
When replaying such a recording, the PCR packets are sent to PlayTsVideo()
- The files "commands.conf" and "reccmd.conf" can now contain nested lists of
commands. See vdr.5 for information about the new file format.
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 35 |
1 files changed, 19 insertions, 16 deletions
@@ -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 2.3 2010/01/03 14:39:14 kls Exp $ + * $Id: epg.h 2.4 2010/01/08 15:20:34 kls Exp $ */ #ifndef __EPG_H @@ -19,19 +19,22 @@ #define MAXEPGBUGFIXLEVEL 3 -#define MAXEVCONTENTS 4 -#define EVCONTENTMASK_MOVIEDRAMA 0x10 -#define EVCONTENTMASK_NEWSCURRENTAFFAIRS 0x20 -#define EVCONTENTMASK_SHOW 0x30 -#define EVCONTENTMASK_SPORTS 0x40 -#define EVCONTENTMASK_CHILDRENYOUTH 0x50 -#define EVCONTENTMASK_MUSICBALLETDANCE 0x60 -#define EVCONTENTMASK_ARTSCULTURE 0x70 -#define EVCONTENTMASK_SOCIALPOLITICALECONOMICS 0x80 -#define EVCONTENTMASK_EDUCATIONALSCIENCE 0x90 -#define EVCONTENTMASK_LEISUREHOBBIES 0xA0 -#define EVCONTENTMASK_SPECIAL 0xB0 -#define EVCONTENTMASK_USERDEFINED 0xF0 +enum { MaxEventContents = 4 }; + +enum eEventContentGroup { + ecgMovieDrama = 0x10, + ecgNewsCurrentAffairs = 0x20, + ecgShow = 0x30, + ecgSports = 0x40, + ecgChildrenYouth = 0x50, + ecgMusicBalletDance = 0x60, + ecgArtsCulture = 0x70, + ecgSocialPoliticalEconomics = 0x80, + ecgEducationalScience = 0x90, + ecgLeisureHobbies = 0xA0, + ecgSpecial = 0xB0, + ecgUserDefined = 0xF0 + }; enum eDumpMode { dmAll, dmPresent, dmFollowing, dmAtTime }; @@ -78,7 +81,7 @@ private: char *shortText; // Short description of this event (typically the episode name in case of a series) char *description; // Description of this event cComponents *components; // The stream components of this event - uchar contents[MAXEVCONTENTS]; // Contents of this event + uchar contents[MaxEventContents]; // Contents of this event time_t startTime; // Start time of this event int duration; // Duration of this event in seconds time_t vps; // Video Programming Service timestamp (VPS, aka "Programme Identification Label", PIL) @@ -97,7 +100,7 @@ public: const char *ShortText(void) const { return shortText; } const char *Description(void) const { return description; } const cComponents *Components(void) const { return components; } - uchar Contents(int i = 0) const { return (0 <= i && i < MAXEVCONTENTS) ? contents[i] : 0; } + uchar Contents(int i = 0) const { return (0 <= i && i < MaxEventContents) ? contents[i] : 0; } int ParentalRating(void) const { return parentalRating; } time_t StartTime(void) const { return startTime; } time_t EndTime(void) const { return startTime + duration; } |