forked from mia/Aegisub
Originally committed to SVN as r121.
This commit is contained in:
parent
2216528544
commit
57b6834d13
1 changed files with 4 additions and 2 deletions
|
@ -147,9 +147,11 @@ void MatroskaWrapper::Parse() {
|
|||
// Read frames
|
||||
int frameN = 0;
|
||||
while (mkv_ReadFrame(file,0,&rt,&startTime,&endTime,&filePos,&frameSize,&frameFlags) == 0) {
|
||||
if (!(frameFlags & FRAME_GAP)) {
|
||||
frames.push_back(MkvFrame((frameFlags & FRAME_KF) != 0,double(startTime) / timecodeScale));
|
||||
frameN++;
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue