Skip to content

Commit

Permalink
react to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 20, 2020
1 parent ff790ff commit 74d3c4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions VideoCore/src/main/cpp/Decoder/LowLagDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void LowLagDecoder::configureStartDecoder(const NALU& sps,const NALU& pps){
return;
}
AMediaCodec_start(decoder.codec);
mCheckOutputThread=new std::thread([this] { this->checkOutputLoop(); });
mCheckOutputThread=new std::thread(&LowLagDecoder::checkOutputLoop,this);
decoder.configured=true;
}

Expand Down Expand Up @@ -141,7 +141,6 @@ void LowLagDecoder::checkOutputLoop() {
decoderProducedUnknown=true;
continue;
}
//Recalculate the
//every 2 seconds recalculate the current fps and bitrate
const auto now=steady_clock::now();
const auto delta=now-decodingInfo.lastCalculation;
Expand Down

This file was deleted.

0 comments on commit 74d3c4e

Please sign in to comment.