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
  • Loading branch information
Mark Kendall committed Feb 1, 2011
1 parent a9b2543 commit 4859032
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
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,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
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,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 4859032

Please sign in to comment.