summaryrefslogtreecommitdiff
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
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
-rw-r--r--HISTORY5
-rw-r--r--config.h10
-rw-r--r--dvbplayer.c4
3 files changed, 13 insertions, 6 deletions
diff --git a/HISTORY b/HISTORY
index 3ecb8c65..e2dfa50a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6888,3 +6888,8 @@ Video Disk Recorder Revision History
- Fixed a possible deadlock in time shift mode.
- Fixed switching into time shift mode when pausing live video (thanks to Reinhard
Nissl for helping to debug this one).
+
+2012-02-19: Version 1.7.25
+
+- The fps value for channels where it differs from the default is now set correctly
+ when pausing live video.
diff --git a/config.h b/config.h
index 18d551f3..9f247e0f 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.h 2.40 2012/01/16 09:50:03 kls Exp $
+ * $Id: config.h 2.41 2012/02/19 14:33:23 kls Exp $
*/
#ifndef __CONFIG_H
@@ -22,13 +22,13 @@
// VDR's own version number:
-#define VDRVERSION "1.7.24"
-#define VDRVERSNUM 10724 // Version * 10000 + Major * 100 + Minor
+#define VDRVERSION "1.7.25"
+#define VDRVERSNUM 10725 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number:
-#define APIVERSION "1.7.24"
-#define APIVERSNUM 10724 // Version * 10000 + Major * 100 + Minor
+#define APIVERSION "1.7.25"
+#define APIVERSNUM 10725 // Version * 10000 + Major * 100 + Minor
// When loading plugins, VDR searches them by their APIVERSION, which
// may be smaller than VDRVERSION in case there have been no changes to
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()