Skip to content

Commit

Permalink
TV: Add an OSD menu option to display the playback debugging window.
Browse files Browse the repository at this point in the history
It can be found under playback...
  • Loading branch information
Mark Kendall committed Jun 4, 2011
1 parent 1e4a61b commit 914588b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -6898,7 +6898,6 @@ void TV::ToggleOSD(PlayerContext *ctx, bool includeStatusOSD)

void TV::ToggleOSDDebug(PlayerContext *ctx)
{
bool show = false;
OSD *osd = GetOSDLock(ctx);
if (osd && osd->IsWindowVisible("osd_debug"))
{
Expand Down Expand Up @@ -9495,6 +9494,8 @@ void TV::OSDDialogEvent(int result, QString text, QString action)
DoJumpRWND(actx);
else if (action.startsWith("DEINTERLACER"))
HandleDeinterlacer(actx, action);
else if (action == ACTION_TOGGLEOSDDEBUG)
ToggleOSDDebug(actx);
else if (action == "TOGGLEMANUALZOOM")
SetManualZoom(actx, true, tr("Zoom Mode ON"));
else if (action == "TOGGLESTRETCH")
Expand Down Expand Up @@ -10633,6 +10634,8 @@ void TV::FillOSDMenuPlayback(const PlayerContext *ctx, OSD *osd,
}
if (!db_browse_always)
osd->DialogAddButton(tr("Toggle Browse Mode"), "TOGGLEBROWSE");
osd->DialogAddButton(tr("Playback data"),
ACTION_TOGGLEOSDDEBUG, false, false);
}
else if (category == "TIMESTRETCH")
{
Expand Down

0 comments on commit 914588b

Please sign in to comment.