Fix FFmpeg plugin (for real)
This commit is contained in:
@@ -195,7 +195,7 @@ namespace
|
|||||||
if (frameTime)
|
if (frameTime)
|
||||||
{
|
{
|
||||||
AVRational timebase = m_formatContext->streams[m_videoStream]->time_base;
|
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;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user