mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user