Ticket #12973: time-stretch-rounding.diff

File time-stretch-rounding.diff, 514 bytes (added by amb@…, 3 years ago)
  • mythtv/libs/libmythtv/tv_play.cpp

    diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
    index d6367a6ebb..f023d2ee3d 100644
    a b void TV::ChangeTimeStretch(PlayerContext *ctx, int dir, bool allowEdit) 
    90169016        return;
    90179017    }
    90189018
    9019     ctx->ts_normal = new_ts_normal;
     9019    ctx->ts_normal = 0.05*(int)(new_ts_normal*20.0+0.5);
    90209020
    90219021    ctx->LockDeletePlayer(__FILE__, __LINE__);
    90229022    if (ctx->player && !ctx->player->IsPaused())