From 7e7e51c6a27a3739b1b6ebe9511129ade6f665ae Mon Sep 17 00:00:00 2001 From: Jim Stichnoth Date: Mon, 4 Mar 2013 21:16:00 -0800 Subject: [PATCH] Fix off-by-1000 error in saving total duration to the markup table. --- mythtv/libs/libmythtv/decoderbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/libs/libmythtv/decoderbase.cpp b/mythtv/libs/libmythtv/decoderbase.cpp index db0702c12eb..2f1933dd1d0 100644 --- a/mythtv/libs/libmythtv/decoderbase.cpp +++ b/mythtv/libs/libmythtv/decoderbase.cpp @@ -1205,7 +1205,7 @@ void DecoderBase::SaveTotalDuration(void) if (!m_playbackinfo || av_q2d(totalDuration) == 0) return; - m_playbackinfo->SaveTotalDuration(1000 * av_q2d(totalDuration)); + m_playbackinfo->SaveTotalDuration(1000000 * av_q2d(totalDuration)); } void DecoderBase::SaveTotalFrames(void)