From c953021dbc095a531bf03da38ed8a605b4e136ce Mon Sep 17 00:00:00 2001 From: SirLynix Date: Thu, 2 Feb 2023 21:13:48 +0100 Subject: [PATCH] Fix FFmpeg plugin (for real) --- plugins/FFmpeg/Plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/FFmpeg/Plugin.cpp b/plugins/FFmpeg/Plugin.cpp index 1e69925e8..6712a9a08 100644 --- a/plugins/FFmpeg/Plugin.cpp +++ b/plugins/FFmpeg/Plugin.cpp @@ -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;