summaryrefslogtreecommitdiff
path: root/dvbplayer.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-19 11:50:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-19 11:50:20 +0100
commit23ec57d8229be5c0a2eaa12fa313ceb8b49fc962 (patch)
treedf01fdf5fe16d652783aec64320c7fcf98464dd9 /dvbplayer.h
parent50e09d1232c8d01a8a3f570aa8b3044f8d46a2e6 (diff)
downloadvdr-23ec57d8229be5c0a2eaa12fa313ceb8b49fc962.tar.gz
vdr-23ec57d8229be5c0a2eaa12fa313ceb8b49fc962.tar.bz2
Fixed switching into time shift mode when pausing live video1.7.24
Diffstat (limited to 'dvbplayer.h')
-rw-r--r--dvbplayer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dvbplayer.h b/dvbplayer.h
index 41590257..e2f2082d 100644
--- a/dvbplayer.h
+++ b/dvbplayer.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbplayer.h 1.2 2002/06/23 10:13:51 kls Exp $
+ * $Id: dvbplayer.h 2.1 2012/02/19 11:40:36 kls Exp $
*/
#ifndef __DVBPLAYER_H
@@ -19,8 +19,11 @@ class cDvbPlayerControl : public cControl {
private:
cDvbPlayer *player;
public:
- cDvbPlayerControl(const char *FileName);
+ cDvbPlayerControl(const char *FileName, bool PauseLive = false);
// Sets up a player for the given file.
+ // If PauseLive is true, special care is taken to make sure the index
+ // file of the recording is long enough to allow the player to display
+ // the first frame in still picture mode.
virtual ~cDvbPlayerControl();
bool Active(void);
void Stop(void);