Ticket #8706: 8706_debug_v2.diff

File 8706_debug_v2.diff, 881 bytes (added by tralph, 14 years ago)

patch to increase the EOF guard band for in-progress recordings

  • libs/libmythtv/mythplayer.cpp

     
    32003200
    32013201    if (livetv || (watchingrecording && player_ctx->recorder &&
    32023202                   player_ctx->recorder->IsValidRecorder()))
    3203         maxtime = (long long)(3.0 * video_frame_rate);
     3203        maxtime = (long long)(6.0 * video_frame_rate);
    32043204
    32053205    long long ret = ff;
    32063206
     
    32323232
    32333233        if (behind < maxtime * 3)
    32343234            limitKeyRepeat = true;
     3235        VERBOSE(VB_PLAYBACK, LOC +
     3236                QString("behind %1, maxtime %2 frameswritten %3 framesplayed %4")
     3237                .arg(behind).arg(maxtime)
     3238                .arg(player_ctx->recorder->GetFramesWritten())
     3239                .arg(framesPlayed));
    32353240    }
    32363241    else
    32373242    {