diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-06-12 14:24:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-06-12 14:24:09 +0200 |
commit | b0fd7ed93387b2958aa438b0bbbf190874413f29 (patch) | |
tree | d7050b3d9872739fe4b7a54842cc072aa19d01c2 /recorder.c | |
parent | 72d342ce02cbeddfccf1c56fc0e614dfbe569608 (diff) | |
download | vdr-b0fd7ed93387b2958aa438b0bbbf190874413f29.tar.gz vdr-b0fd7ed93387b2958aa438b0bbbf190874413f29.tar.bz2 |
Fixed overwriting the fps value in a recording's info file
Diffstat (limited to 'recorder.c')
-rw-r--r-- | recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recorder.c 2.10 2011/06/12 13:35:20 kls Exp $ + * $Id: recorder.c 2.11 2011/06/12 14:16:45 kls Exp $ */ #include "recorder.h" @@ -133,7 +133,7 @@ void cRecorder::Action(void) if (!InfoWritten) { cRecordingInfo RecordingInfo(recordingName); if (RecordingInfo.Read()) { - if (frameDetector->FramesPerSecond() > 0 && !DoubleEqual(RecordingInfo.FramesPerSecond(), frameDetector->FramesPerSecond())) { + if (frameDetector->FramesPerSecond() > 0 && DoubleEqual(RecordingInfo.FramesPerSecond(), DEFAULTFRAMESPERSECOND) && !DoubleEqual(RecordingInfo.FramesPerSecond(), frameDetector->FramesPerSecond())) { RecordingInfo.SetFramesPerSecond(frameDetector->FramesPerSecond()); RecordingInfo.Write(); Recordings.UpdateByName(recordingName); |