Fix FFmpeg plugin (for real)

This commit is contained in:
SirLynix 2023-02-02 21:13:48 +01:00
parent 0fe25187e5
commit c953021dbc
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ namespace
if (frameTime)
{
AVRational timebase = m_formatContext->streams[m_videoStream]->time_base;
*frameTime = 1000 * m_rawFrame->pts * timebase.num / timebase.den;
*frameTime = Nz::Time::Milliseconds(1000 * m_rawFrame->pts * timebase.num / timebase.den);
}
return true;