diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 5ef24e7..1fc7ad1 100644
a
|
b
|
void TV::SetBookmark(PlayerContext *ctx, bool clear) |
5056 | 5056 | ctx->player->SetBookmark(true); |
5057 | 5057 | SetOSDMessage(ctx, tr("Bookmark Cleared")); |
5058 | 5058 | } |
5059 | | else if (IsBookmarkAllowed(ctx)) |
| 5059 | else // if (IsBookmarkAllowed(ctx)) |
5060 | 5060 | { |
5061 | 5061 | ctx->player->SetBookmark(); |
5062 | 5062 | osdInfo info; |
… |
… |
bool TV::ActivePostQHandleAction(PlayerContext *ctx, const QStringList &actions) |
5080 | 5080 | |
5081 | 5081 | if (has_action(ACTION_SETBOOKMARK, actions)) |
5082 | 5082 | { |
5083 | | if (!islivetv || !CommitQueuedInput(ctx)) |
| 5083 | if (!CommitQueuedInput(ctx)) |
5084 | 5084 | { |
5085 | 5085 | ctx->LockDeletePlayer(__FILE__, __LINE__); |
5086 | 5086 | SetBookmark(ctx, false); |
… |
… |
bool TV::ActivePostQHandleAction(PlayerContext *ctx, const QStringList &actions) |
5089 | 5089 | } |
5090 | 5090 | if (has_action(ACTION_TOGGLEBOOKMARK, actions)) |
5091 | 5091 | { |
5092 | | if (!islivetv || !CommitQueuedInput(ctx)) |
| 5092 | if (!CommitQueuedInput(ctx)) |
5093 | 5093 | { |
5094 | 5094 | ctx->LockDeletePlayer(__FILE__, __LINE__); |
5095 | 5095 | SetBookmark(ctx, ctx->player->GetBookmark()); |
… |
… |
void TV::UpdateNavDialog(PlayerContext *ctx) |
6611 | 6611 | if (osd && osd->DialogVisible(OSD_DLG_NAVIGATE)) |
6612 | 6612 | { |
6613 | 6613 | osdInfo info; |
6614 | | bool paused = ContextIsPaused(ctx, __FILE__, __LINE__); |
| 6614 | ctx->LockDeletePlayer(__FILE__, __LINE__); |
| 6615 | bool paused = (ctx->player |
| 6616 | && (ctx->ff_rew_state || ctx->ff_rew_speed != 0 |
| 6617 | || ctx->player->IsPaused())); |
| 6618 | ctx->UnlockDeletePlayer(__FILE__, __LINE__); |
6615 | 6619 | info.text["paused"] = (paused ? "Y" : "N"); |
6616 | 6620 | bool muted = ctx->player->IsMuted(); |
6617 | 6621 | info.text["muted"] = (muted ? "Y" : "N"); |
… |
… |
bool TV::SeekHandleAction(PlayerContext *actx, const QStringList &actions, |
6773 | 6777 | /*timeIsOffset*/true, |
6774 | 6778 | /*honorCutlist*/!(flags & kIgnoreCutlist)); |
6775 | 6779 | } |
| 6780 | UpdateNavDialog(actx); |
6776 | 6781 | return true; |
6777 | 6782 | } |
6778 | 6783 | |
… |
… |
void TV::OSDDialogEvent(int result, QString text, QString action) |
11154 | 11159 | DoQueueTranscode(actx, "Medium Quality"); |
11155 | 11160 | else if (action == "QUEUETRANSCODE_LOW") |
11156 | 11161 | DoQueueTranscode(actx, "Low Quality"); |
11157 | | else if (action == ACTION_TOGGLEBOOKMARK |
11158 | | || action == ACTION_SETBOOKMARK) |
11159 | | ActivePostQHandleAction(actx, QStringList(action)); |
11160 | 11162 | else |
11161 | 11163 | handled = false; |
11162 | 11164 | } |
… |
… |
void TV::OSDDialogEvent(int result, QString text, QString action) |
11167 | 11169 | handled = ActiveHandleAction(actx, QStringList(action), isDVD, isMenuOrStill); |
11168 | 11170 | } |
11169 | 11171 | if (!handled) |
| 11172 | handled = ActivePostQHandleAction(actx, QStringList(action)); |
| 11173 | |
| 11174 | if (!handled) |
11170 | 11175 | { |
11171 | 11176 | LOG(VB_GENERAL, LOG_ERR, LOC + |
11172 | 11177 | "Unknown menu action selected: " + action); |