Skip to content

Commit

Permalink
Skip past the initial cut area when starting playback.
Browse files Browse the repository at this point in the history
Patch from billstuff2001 at sbcglobal dot net

Closes #9538
(cherry picked from commit 4859032)
  • Loading branch information
Mark Kendall committed Feb 1, 2011
1 parent 8d1c058 commit d85343b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -988,7 +988,9 @@ int MythPlayer::OpenFile(uint retries, bool allow_libmpeg2)
deleteMap.TrackerReset(0, totalFrames);
}

// Determine the initial bookmark and update it for the cutlist
bookmarkseek = GetBookmark();
deleteMap.TrackerWantsToJump(bookmarkseek, totalFrames, bookmarkseek);

if (player_ctx->playingInfo->QueryAutoExpire() == kLiveTVAutoExpire)
gCoreContext->SaveSetting("DefaultChanid",
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythplayer.h
Expand Up @@ -567,7 +567,7 @@ class MPUBLIC MythPlayer
int jumpchapter;

// Bookmark stuff
long long bookmarkseek;
uint64_t bookmarkseek;

// Seek
/// If fftime>0, number of frames to seek forward.
Expand Down

0 comments on commit d85343b

Please sign in to comment.