Skip to content

Commit

Permalink
mythtranscode: update new length for cut-to-end
Browse files Browse the repository at this point in the history
Include frames cut from the end in the New Length reported by
mythtranscode.  Fixes #9528
  • Loading branch information
sphery committed Jan 31, 2011
1 parent 3104b1f commit 7ac3fee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mythtv/programs/mythtranscode/transcode.cpp
Expand Up @@ -441,7 +441,10 @@ int Transcode::TranscodeFile(
long long lastFrame = (long long)m_proginfo->
GetLastFrameInPosMap() + 60;
if (lastFrame > lastStart)
{
new_frame_count -= (lastFrame - lastStart);
cutStr += QString("%1").arg(lastFrame);
}
}
VERBOSE(VB_GENERAL, QString("Cutlist : %1").arg(cutStr));
VERBOSE(VB_GENERAL, QString("Original Length: %1 frames")
Expand Down

0 comments on commit 7ac3fee

Please sign in to comment.