summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-03-13 14:45:12 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-03-13 14:45:12 +0100
commite7ea3b3c70d737ba758527b806c040dbf8ec8e45 (patch)
treefb1557cfc75aebfff871f177ceccef12663b3981 /device.h
parent4c0ab3d3e768cea51748d403e5b7d9ce64b6cbf2 (diff)
downloadvdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.gz
vdr-e7ea3b3c70d737ba758527b806c040dbf8ec8e45.tar.bz2
Replaced cBackTrace with cPtsIndex
Diffstat (limited to 'device.h')
-rw-r--r--device.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/device.h b/device.h
index 67c9be44..4648149c 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.6 2009/01/25 11:04:39 kls Exp $
+ * $Id: device.h 2.7 2009/03/01 11:20:34 kls Exp $
*/
#ifndef __DEVICE_H
@@ -543,6 +543,13 @@ 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.
+ ///< The value returned doesn't need to be an actual "clock" value,
+ ///< it is sufficient if it holds the PTS (Presentation Time Stamp) of
+ ///< the most recently presented frame. A proper value must be returned
+ ///< in normal replay mode as well as in any trick modes (like slow motion,
+ ///< fast forward/rewind).
+ ///< Only the lower 32 bit of this value are actually used, since some
+ ///< devices can't handle the msb correctly.
virtual bool IsPlayingVideo(void) const { return isPlayingVideo; }
///< \return Returns true if the currently attached player has delivered
///< any video packets.