chrono API change

This commit is contained in:
Martchus 2015-09-16 17:26:20 +02:00
parent cdb649653c
commit 5ab22eb9d9
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@
#include <c++utilities/misc/memory.h>
using namespace std;
using namespace ChronoUtilities;
namespace Media {
@ -48,10 +49,10 @@ void MatroskaChapter::internalParse()
case MatroskaIds::ChapterStringUID:
break;
case MatroskaIds::ChapterTimeStart:
m_startTime = chapterAtomChild->readUInteger() / 100;
m_startTime = TimeSpan(chapterAtomChild->readUInteger() / 100);
break;
case MatroskaIds::ChapterTimeEnd:
m_endTime = chapterAtomChild->readUInteger() / 100;
m_endTime = TimeSpan(chapterAtomChild->readUInteger() / 100);
break;
case MatroskaIds::ChapterFlagHidden:
m_hidden = chapterAtomChild->readUInteger() == 1;