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 /remux.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 'remux.c')
-rw-r--r-- | remux.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 2.56 2011/06/12 13:51:59 kls Exp $ + * $Id: remux.c 2.57 2011/06/12 14:24:09 kls Exp $ */ #include "remux.h" @@ -12,6 +12,7 @@ #include "libsi/si.h" #include "libsi/section.h" #include "libsi/descriptor.h" +#include "recording.h" #include "shutdown.h" #include "tools.h" @@ -883,8 +884,8 @@ int cFrameDetector::Analyze(const uchar *Data, int Length) else framesPerSecond = 60.0 / 1.001; else { - framesPerSecond = 25.0; - dsyslog("unknown frame delta (%d), assuming 25 fps", Delta); + framesPerSecond = DEFAULTFRAMESPERSECOND; + dsyslog("unknown frame delta (%d), assuming %5.2f fps", Delta, DEFAULTFRAMESPERSECOND); } } else // audio |