summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-14 14:06:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-14 14:06:43 +0200
commit55135294197254a1b95e9552f3d465ef18fc7de4 (patch)
treef5169b4780c966a0194f623db08c3a08e0900f89 /dvbapi.h
parentb47ce65b0354c0626b4a9650d96f83122f798b55 (diff)
downloadvdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.gz
vdr-55135294197254a1b95e9552f3d465ef18fc7de4.tar.bz2
Implemented replay mode display
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/dvbapi.h b/dvbapi.h
index d0e22e6e..508942e6 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.48 2001/09/08 11:35:25 kls Exp $
+ * $Id: dvbapi.h 1.49 2001/09/09 14:37:18 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -289,6 +289,12 @@ public:
bool GetIndex(int &Current, int &Total, bool SnapToIFrame = false);
// Returns the current and total frame index, optionally snapped to the
// nearest I-frame.
+ bool GetReplayMode(bool &Play, bool &Forward, int &Speed);
+ // Returns the current replay mode (if applicable).
+ // 'Play' tells whether we are playing or pausing, 'Forward' tells whether
+ // we are going forward or backward and 'Speed' is -1 if this is normal
+ // play/pause mode, 0 if it is single speed fast/slow forward/back mode
+ // and >0 if this is multi speed mode.
void Goto(int Index, bool Still = false);
// Positions to the given index and displays that frame as a still picture
// if Still is true.