Ticket #9538: 213-SeekPastInitialCutpoint.patch

File 213-SeekPastInitialCutpoint.patch, 1.1 KB (added by anonymous, 9 years ago)
  • mythtv/libs/libmythtv/mythplayer.cpp

    old new int MythPlayer::OpenFile(uint retries, b 
    990990
    991991    bookmarkseek = GetBookmark();
    992992
     993    // Check to see if we're starting inside a cut area.
     994    // If yes, bookmarkseek will be updated to the end of the area
     995    deleteMap.TrackerWantsToJump(bookmarkseek, totalFrames, bookmarkseek);
     996
    993997    if (player_ctx->playingInfo->QueryAutoExpire() == kLiveTVAutoExpire)
    994998        gCoreContext->SaveSetting("DefaultChanid",
    995999                                  player_ctx->playingInfo->GetChanID());
  • mythtv/libs/libmythtv/mythplayer.h

    old new class MPUBLIC MythPlayer 
    567567    int jumpchapter;
    568568
    569569    // Bookmark stuff
    570     long long bookmarkseek;
     570    uint64_t bookmarkseek;
    571571
    572572    // Seek
    573573    /// If fftime>0, number of frames to seek forward.