summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-25 11:39:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-25 11:39:43 +0100
commitf9c1974f2de4b749ffc698f72331530c3adc65ea (patch)
tree93e3291a0979bcb7dc32703d153b0c183a29837f /device.h
parent73be47a4b1dc1b5f2628ea9b9aeb5d161363d981 (diff)
downloadvdr-f9c1974f2de4b749ffc698f72331530c3adc65ea.tar.gz
vdr-f9c1974f2de4b749ffc698f72331530c3adc65ea.tar.bz2
Improved fast-forward/-rewind for audio recordings
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/device.h b/device.h
index 13a77e39..67c9be44 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.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.