Skip to content

Commit

Permalink
Make it possible to clear DVD bookmarks again.
Browse files Browse the repository at this point in the history
  • Loading branch information
peper03 committed Jul 26, 2013
1 parent 29de266 commit b88f999
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythtv/DVD/mythdvdplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ bool MythDVDPlayer::Rewind(float seconds)

bool MythDVDPlayer::JumpToFrame(uint64_t frame)
{
if (frame == ~0x00u)
return false;

if (decoder)
decoder->UpdateFramesPlayed();
return MythPlayer::JumpToFrame(frame);
Expand Down Expand Up @@ -409,6 +412,7 @@ uint64_t MythDVDPlayer::GetBookmark(void)
if (dvdbookmark.count() == 1)
{
m_initial_dvdstate = *it;
frames = ~0x00LL;
LOG(VB_PLAYBACK, LOG_INFO, LOC + "Get Bookmark: bookmark found");
}
else
Expand Down

0 comments on commit b88f999

Please sign in to comment.