Ticket #8706: 8706_debug.diff

File 8706_debug.diff, 1.1 KB (added by tralph, 9 years ago)

change default readblocksize and add debug for CalcMaxFFTime()

  • libs/libmythtv/RingBuffer.cpp

     
    816816    rbs            = (estbitrate > 5000)  ? KB128 : rbs;
    817817    rbs            = (estbitrate > 9000)  ? KB256 : rbs;
    818818    rbs            = (estbitrate > 18000) ? KB512 : rbs;
    819     readblocksize  = max(rbs,readblocksize);
     819    readblocksize  = rbs;
    820820
    821821    // minumum seconds of buffering before allowing read
    822822    float secs_min = 0.25;
  • libs/libmythtv/mythplayer.cpp

     
    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    {