diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-05 11:32:31 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-05 11:32:31 +0100 |
commit | 62901748b3c137cc2c54aec014013bad941acdc8 (patch) | |
tree | 82b6357a6ee8c31b5f880bf54cc9d2d9ced6e50d /device.h | |
parent | a5e9da1de35a23371e2ecbeeafbcf65c9aa45093 (diff) | |
download | vdr-62901748b3c137cc2c54aec014013bad941acdc8.tar.gz vdr-62901748b3c137cc2c54aec014013bad941acdc8.tar.bz2 |
The new function cDevice::PatPmtParser() can be used in derived devices to access the PAT/PMT of the currently replayed material
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 2.16 2009/11/22 13:21:00 kls Exp $ + * $Id: device.h 2.17 2009/12/04 15:03:16 kls Exp $ */ #ifndef __DEVICE_H @@ -498,6 +498,9 @@ private: cTsToPes tsToPesSubtitle; bool isPlayingVideo; protected: + const cPatPmtParser *PatPmtParser(void) const { return &patPmtParser; } + ///< Returns a pointer to the patPmtParser, so that a derived device + ///< can use the stream information from it. virtual bool CanReplay(void) const; ///< Returns true if this device can currently start a replay session. virtual bool SetPlayMode(ePlayMode PlayMode); |