Skip to content

Commit

Permalink
Fix off-by-1000 error in saving total duration to the markup table.
Browse files Browse the repository at this point in the history
  • Loading branch information
stichnot committed Mar 5, 2013
1 parent 6e088ed commit 7e7e51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoderbase.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 7e7e51c

Please sign in to comment.