mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed detecting frames for pure audio recordings
This commit is contained in:
parent
fa848a6f2e
commit
a02868c90c
1
HISTORY
1
HISTORY
@ -5958,3 +5958,4 @@ Video Disk Recorder Revision History
|
|||||||
PlayVideo() didn't play anything.
|
PlayVideo() didn't play anything.
|
||||||
- Added an 'int' typecast to calculations involving FramesPerSecond() to avoid
|
- Added an 'int' typecast to calculations involving FramesPerSecond() to avoid
|
||||||
compiler warnings.
|
compiler warnings.
|
||||||
|
- Fixed detecting frames for pure audio recordings.
|
||||||
|
3
remux.c
3
remux.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "remux.h"
|
||||||
@ -742,6 +742,7 @@ int cFrameDetector::Analyze(const uchar *Data, int Length)
|
|||||||
if (frameDuration) {
|
if (frameDuration) {
|
||||||
newFrame = true;
|
newFrame = true;
|
||||||
independentFrame = true;
|
independentFrame = true;
|
||||||
|
scanning = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
framesPerPayloadUnit = 1;
|
framesPerPayloadUnit = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user