From 70095c73a71da3db4c0fa378ec98bde93c94e574 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 15 Feb 2014 08:27:17 +0100 Subject: [PATCH] Comment out a line in MatroskaParser that made the timecode start at 0 instead of the timecode of the first cluster. --- MP42/muxer/MatroskaParser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MP42/muxer/MatroskaParser.c b/MP42/muxer/MatroskaParser.c index 69135e8..741f89a 100644 --- a/MP42/muxer/MatroskaParser.c +++ b/MP42/muxer/MatroskaParser.c @@ -1105,7 +1105,9 @@ static void parseFirstCluster(MatroskaFile *mf,ulonglong toplen) { tc = readUInt(mf,(unsigned)len); if (!seenTimecode) { seenTimecode = 1; - mf->firstTimecode += tc; + // Commented out, MP42Foundation wants the real timecode, + // not timecode starting at 0. + //mf->firstTimecode += tc; } if (seenBlock) {