mirror of https://github.com/odrling/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
|
@ -260,7 +260,7 @@ void FFmpegSourceVideoProvider::LoadVideo(wxString filename) {
|
|||
KeyFramesList.Add(CurFrameNum);
|
||||
|
||||
// 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);
|
||||
}
|
||||
KeyFramesLoaded = true;
|
||||
|
|
Loading…
Reference in New Issue