Permalink
Browse files

Skip past the initial cut area when starting playback.

Patch from billstuff2001 at sbcglobal dot net

Closes #9538
(cherry picked from commit 4859032)
  • Loading branch information...
1 parent 8d1c058 commit d85343b84e13455367f55e23087ba3e5d6789c35 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
View
2 mythtv/libs/libmythtv/mythplayer.cpp
@@ -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",
View
2 mythtv/libs/libmythtv/mythplayer.h
@@ -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.

0 comments on commit d85343b

Please sign in to comment.