Skip to content

Commit

Permalink
Send PLAY_UNPAUSE when play is hit during pause. Fixes #9484
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Jul 24, 2011
1 parent de0d29c commit cb38a52
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions mythtv/libs/libmythtv/tv_play.cpp
Expand Up @@ -5360,14 +5360,14 @@ void TV::DoPlay(PlayerContext *ctx)

float time = 0.0;

if (ctx->ff_rew_state)
{
time = StopFFRew(ctx);
ctx->player->Play(ctx->ts_normal, true);
ctx->ff_rew_speed = 0;
}
else if (ctx->player->IsPaused() || (ctx->ff_rew_speed != 0))
if (ctx->ff_rew_state || (ctx->ff_rew_speed != 0) ||
ctx->player->IsPaused())
{
if (ctx->ff_rew_state)
time = StopFFRew(ctx);
else if (ctx->player->IsPaused())
SendMythSystemPlayEvent("PLAY_UNPAUSED", ctx->playingInfo);

ctx->player->Play(ctx->ts_normal, true);
ctx->ff_rew_speed = 0;
}
Expand Down

0 comments on commit cb38a52

Please sign in to comment.