void MythDVDPlayer::SetBookmark(bool clear) { if (player_ctx->buffer->IsInDiscMenuOrStillFrame() || clear) SetDVDBookmark(0); else SetDVDBookmark(framesPlayed); }
void MythDVDPlayer::SetBookmark(void) { if (player_ctx->buffer->IsInDiscMenuOrStillFrame()) { SetDVDBookmark(0); } else { SetDVDBookmark(framesPlayed); SetOSDStatus(QObject::tr("Position"), kOSDTimeout_Med); SetOSDMessage(QObject::tr("Bookmark Saved"), kOSDTimeout_Med); } }
void MythDVDPlayer::ClearBookmark(bool message) { SetDVDBookmark(0); if (message) SetOSDMessage(QObject::tr("Bookmark Cleared"), kOSDTimeout_Med); }