diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-24 12:30:18 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-01-24 12:30:18 +0100 |
commit | a02868c90c1832879b1662398d10f1edebfaf59a (patch) | |
tree | 8d5b15d653f520011bd3238d9c7e18eea9136e46 | |
parent | fa848a6f2ed16af75f4a971968c3a7d469fbd76a (diff) | |
download | vdr-a02868c90c1832879b1662398d10f1edebfaf59a.tar.gz vdr-a02868c90c1832879b1662398d10f1edebfaf59a.tar.bz2 |
Fixed detecting frames for pure audio recordings
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | remux.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -5958,3 +5958,4 @@ Video Disk Recorder Revision History PlayVideo() didn't play anything. - Added an 'int' typecast to calculations involving FramesPerSecond() to avoid compiler warnings. +- Fixed detecting frames for pure audio recordings. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remux.c 2.11 2009/01/23 16:44:29 kls Exp $ + * $Id: remux.c 2.12 2009/01/24 12:29:19 kls Exp $ */ #include "remux.h" @@ -742,6 +742,7 @@ int cFrameDetector::Analyze(const uchar *Data, int Length) if (frameDuration) { newFrame = true; independentFrame = true; + scanning = false; } else framesPerPayloadUnit = 1; |