diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-19 14:34:50 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-02-19 14:34:50 +0100 |
commit | 73314207dcbc5528707fc11b5beaa2b323ce8130 (patch) | |
tree | 92eaa06079a06b64fda233af7cf58e6570ea60cb /dvbplayer.c | |
parent | 23ec57d8229be5c0a2eaa12fa313ceb8b49fc962 (diff) | |
download | vdr-73314207dcbc5528707fc11b5beaa2b323ce8130.tar.gz vdr-73314207dcbc5528707fc11b5beaa2b323ce8130.tar.bz2 |
The fps value for channels where it differs from the default is now set correctly when pausing live video
Diffstat (limited to 'dvbplayer.c')
-rw-r--r-- | dvbplayer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dvbplayer.c b/dvbplayer.c index b0adac40..2abc186c 100644 --- a/dvbplayer.c +++ b/dvbplayer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbplayer.c 2.23 2012/02/19 10:48:02 kls Exp $ + * $Id: dvbplayer.c 2.24 2012/02/19 14:31:22 kls Exp $ */ #include "dvbplayer.h" @@ -291,6 +291,8 @@ cDvbPlayer::cDvbPlayer(const char *FileName, bool PauseLive) delete index; index = NULL; } + else if (PauseLive) + framesPerSecond = cRecording(FileName).FramesPerSecond(); // the fps rate might have changed from the default } cDvbPlayer::~cDvbPlayer() |