Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Send PLAY_UNPAUSE when play is hit during pause. Fixes #9484

  • Loading branch information...
commit cb38a5279fd3f2b8fd554c138310b3a381f7d014 1 parent de0d29c
@stuartm stuartm authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 mythtv/libs/libmythtv/tv_play.cpp
View
14 mythtv/libs/libmythtv/tv_play.cpp
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.