summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-05 11:32:31 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-05 11:32:31 +0100
commit62901748b3c137cc2c54aec014013bad941acdc8 (patch)
tree82b6357a6ee8c31b5f880bf54cc9d2d9ced6e50d /device.h
parenta5e9da1de35a23371e2ecbeeafbcf65c9aa45093 (diff)
downloadvdr-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index 5698fde2..b6aef6e5 100644
--- a/device.h
+++ b/device.h
@@ -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);