From 8b699edf01d474fee36458bf8a8a2933985fad05 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Tue, 15 Apr 2014 22:18:05 +0100 Subject: [PATCH] Bug fix when meausring the time in seconds --- source/app/InputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/app/InputStream.cpp b/source/app/InputStream.cpp index 5f1699f..ba9ea75 100755 --- a/source/app/InputStream.cpp +++ b/source/app/InputStream.cpp @@ -298,7 +298,7 @@ Void InputStream::getDuration( Int* duration_array ) else #endif { - secs = m_uiTotalFrameNum * m_uiFrameRate; + secs = m_uiTotalFrameNum / m_uiFrameRate; } mins = secs / 60; secs %= 60;