From a02868c90c1832879b1662398d10f1edebfaf59a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 24 Jan 2009 12:30:18 +0100 Subject: Fixed detecting frames for pure audio recordings --- HISTORY | 1 + remux.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index ffdfa80c..e3d7d4bd 100644 --- a/HISTORY +++ b/HISTORY @@ -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. diff --git a/remux.c b/remux.c index cb37c4f2..23c5b379 100644 --- a/remux.c +++ b/remux.c @@ -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; -- cgit v1.2.3