Skip to content

Commit

Permalink
Fix end-of-playback logic for in-progress recordings.
Browse files Browse the repository at this point in the history
The bug was introduced in 91ec76e and
found by Stuart M.
  • Loading branch information
stichnot committed Jan 6, 2013
1 parent d3dca98 commit fa24b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/deletemap.cpp
Expand Up @@ -847,7 +847,7 @@ bool DeleteMap::TrackerWantsToJump(uint64_t frame, uint64_t &to)
*/
uint64_t DeleteMap::GetLastFrame(void) const
{
uint64_t result = m_ctx->player->GetTotalFrameCount();
uint64_t result = m_ctx->player->GetCurrentFrameCount();
if (IsEmpty())
return result;

Expand Down

0 comments on commit fa24b24

Please sign in to comment.