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,8 +147,10 @@ void MatroskaWrapper::Parse() {
|
||||||
// Read frames
|
// Read frames
|
||||||
int frameN = 0;
|
int frameN = 0;
|
||||||
while (mkv_ReadFrame(file,0,&rt,&startTime,&endTime,&filePos,&frameSize,&frameFlags) == 0) {
|
while (mkv_ReadFrame(file,0,&rt,&startTime,&endTime,&filePos,&frameSize,&frameFlags) == 0) {
|
||||||
frames.push_back(MkvFrame((frameFlags & FRAME_KF) != 0,double(startTime) / timecodeScale));
|
if (!(frameFlags & FRAME_GAP)) {
|
||||||
frameN++;
|
frames.push_back(MkvFrame((frameFlags & FRAME_KF) != 0,double(startTime) / timecodeScale));
|
||||||
|
frameN++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue