Skip to content
Snippets Groups Projects
Commit 7a155cd5 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Remove adaptive framerate code

parent 8355da57
Branches
Tags
1 merge request!82Resolves #140 with fps adjustment
...@@ -343,7 +343,7 @@ void Streamer::_schedule() { ...@@ -343,7 +343,7 @@ void Streamer::_schedule() {
if (target != last_frame_) { if (target != last_frame_) {
LOG(WARNING) << "Frame " << "(" << (target-last_frame_) << ") dropped by " << (now%mspf_) << "ms"; LOG(WARNING) << "Frame " << "(" << (target-last_frame_) << ") dropped by " << (now%mspf_) << "ms";
} }
_decideFrameRate(target-last_frame_, now%mspf_); //_decideFrameRate(target-last_frame_, now%mspf_);
// Use sleep_for for larger delays // Use sleep_for for larger delays
int64_t msdelay = mspf_ - (now % mspf_); int64_t msdelay = mspf_ - (now % mspf_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment