diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-25 11:39:43 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-25 11:39:43 +0100 |
commit | f9c1974f2de4b749ffc698f72331530c3adc65ea (patch) | |
tree | 93e3291a0979bcb7dc32703d153b0c183a29837f /device.h | |
parent | 73be47a4b1dc1b5f2628ea9b9aeb5d161363d981 (diff) | |
download | vdr-f9c1974f2de4b749ffc698f72331530c3adc65ea.tar.gz vdr-f9c1974f2de4b749ffc698f72331530c3adc65ea.tar.bz2 |
Improved fast-forward/-rewind for audio recordings
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 6 |
1 files changed, 5 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.5 2009/01/10 10:04:30 kls Exp $ + * $Id: device.h 2.6 2009/01/25 11:04:39 kls Exp $ */ #ifndef __DEVICE_H @@ -477,6 +477,7 @@ private: cTsToPes tsToPesVideo; cTsToPes tsToPesAudio; cTsToPes tsToPesSubtitle; + bool isPlayingVideo; protected: virtual bool CanReplay(void) const; ///< Returns true if this device can currently start a replay session. @@ -542,6 +543,9 @@ public: ///< Gets the current System Time Counter, which can be used to ///< synchronize audio and video. If this device is unable to ///< provide the STC, -1 will be returned. + virtual bool IsPlayingVideo(void) const { return isPlayingVideo; } + ///< \return Returns true if the currently attached player has delivered + ///< any video packets. virtual bool HasIBPTrickSpeed(void) { return false; } ///< Returns true if this device can handle all frames in 'fast forward' ///< trick speeds. |