예제 #1
0
void MythDVDPlayer::SetBookmark(bool clear)
{
    if (player_ctx->buffer->IsInDiscMenuOrStillFrame() || clear)
        SetDVDBookmark(0);
    else
        SetDVDBookmark(framesPlayed);
}
예제 #2
0
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);
    }
}
예제 #3
0
void MythDVDPlayer::ClearBookmark(bool message)
{
    SetDVDBookmark(0);
    if (message)
        SetOSDMessage(QObject::tr("Bookmark Cleared"), kOSDTimeout_Med);
}