Skip to content

Commit

Permalink
Change the ADJUSTSTRETCH action to also support toggling.
Browse files Browse the repository at this point in the history
Previously, pressing ADJUSTSTRETCH while alredy in time-stretch adjust
mode exited the mode.  Doing so now toogles the time-stretch speed.
SELECT and ESCAPE can be used to exit time-stretch adjust mode
instead.  This change allows convenient access to both adjusting and
toggling the time-stretch speed with a single key.
  • Loading branch information
gigem committed May 2, 2013
1 parent 2865936 commit b79da45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -4105,6 +4105,8 @@ bool TV::TimeStretchHandleAction(PlayerContext *ctx,
else if (has_action(ACTION_UP, actions))
ChangeTimeStretch(ctx, 5);
else if (has_action("ADJUSTSTRETCH", actions))
ToggleTimeStretch(ctx);
else if (has_action(ACTION_SELECT, actions))
ClearOSD(ctx);
else
handled = false;
Expand Down

0 comments on commit b79da45

Please sign in to comment.