Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Unified Diff: remoting/host/capture_scheduler.h

Issue 171523003: Increase framerate limit in remoting host to 30fps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/capture_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/capture_scheduler.h
diff --git a/remoting/host/capture_scheduler.h b/remoting/host/capture_scheduler.h
index a901ed492eb7c6aa20b9f829645b8ed6911c4da2..9dbecdad3d14720167cf321977f45c46afa4a618 100644
--- a/remoting/host/capture_scheduler.h
+++ b/remoting/host/capture_scheduler.h
@@ -27,10 +27,16 @@ class CaptureScheduler {
void RecordCaptureTime(base::TimeDelta capture_time);
void RecordEncodeTime(base::TimeDelta encode_time);
+ // Sets minimum interval between frames.
+ void set_minimum_interval(base::TimeDelta minimum_interval) {
+ minimum_interval_ = minimum_interval;
+ }
+
// Overrides the number of processors for testing.
void SetNumOfProcessorsForTest(int num_of_processors);
private:
+ base::TimeDelta minimum_interval_;
int num_of_processors_;
RunningAverage capture_time_;
RunningAverage encode_time_;
« no previous file with comments | « no previous file | remoting/host/capture_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698