Permalink
Browse files

Skip past the initial cut area when starting playback.

Patch from billstuff2001 at sbcglobal dot net

Closes #9538
  • Loading branch information...
1 parent a9b2543 commit 48590321e09bd2c6473040caa0a695d7453c215f Mark Kendall committed Feb 1, 2011
Showing with 3 additions and 1 deletion.
  1. +2 −0 mythtv/libs/libmythtv/mythplayer.cpp
  2. +1 −1 mythtv/libs/libmythtv/mythplayer.h
@@ -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",
@@ -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.

0 comments on commit 4859032

Please sign in to comment.