forked from mia/Aegisub
Update ffms2 to r234, part 2. Compilation fixed again.
Originally committed to SVN as r3815.
This commit is contained in:
parent
1f4fa82726
commit
653427fbad
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
|
||||||
KeyFramesList.Add(CurFrameNum);
|
KeyFramesList.Add(CurFrameNum);
|
||||||
|
|
||||||
// calculate timestamp and add to timecodes vector
|
// calculate timestamp and add to timecodes vector
|
||||||
int Timestamp = (int)((CurFrameData->DTS * TimeBase->Num) / TimeBase->Den);
|
int Timestamp = (int)((CurFrameData->PTS * TimeBase->Num) / TimeBase->Den);
|
||||||
TimecodesVector.push_back(Timestamp);
|
TimecodesVector.push_back(Timestamp);
|
||||||
}
|
}
|
||||||
KeyFramesLoaded = true;
|
KeyFramesLoaded = true;
|
||||||
|
|
Loading…
Reference in a new issue