summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-02-19 14:34:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-02-19 14:34:50 +0100
commit73314207dcbc5528707fc11b5beaa2b323ce8130 (patch)
tree92eaa06079a06b64fda233af7cf58e6570ea60cb /dvbplayer.c
parent23ec57d8229be5c0a2eaa12fa313ceb8b49fc962 (diff)
downloadvdr-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.c4
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()