summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/media_stream_video_source.h
diff options
context:
space:
mode:
authormiu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-05 23:35:14 +0000
committermiu@chromium.org <miu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-05 23:35:14 +0000
commit683511a70428de8050427f1d26ec5643dde35e2f (patch)
tree6f06cf877cc9549c7a39316a1bb4e99df22e2e37 /content/renderer/media/media_stream_video_source.h
parent1e7c29f57adb2441163c6bc036680c8612e7d757 (diff)
downloadchromium_src-683511a70428de8050427f1d26ec5643dde35e2f.zip
chromium_src-683511a70428de8050427f1d26ec5643dde35e2f.tar.gz
chromium_src-683511a70428de8050427f1d26ec5643dde35e2f.tar.bz2
Allow MediaStream constraints to specify higher than 30 FPS tab capture.
This will allow true 720p/60fps tab/desktop capture, if configured through the constraints (and the system hardware performance supports it). In addition, this will enable tab capture perf tests to run at higher frame rates so that more-subtle regressions are caught. A new hard upper-bound of 120 FPS is enforced with this change. BUG=400631 TBR=yzshen@chromium.org Review URL: https://codereview.chromium.org/442643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287642 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/media/media_stream_video_source.h')
-rw-r--r--content/renderer/media/media_stream_video_source.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index c2f6f17..19f000e 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -100,6 +100,7 @@ class CONTENT_EXPORT MediaStreamVideoSource
virtual void GetCurrentSupportedFormats(
int max_requested_width,
int max_requested_height,
+ double max_requested_frame_rate,
const VideoCaptureDeviceFormatsCB& callback) = 0;
// An implementation must start capture frames using the resolution in