summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/webrtc/video_destination_handler.cc
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/webrtc/video_destination_handler.cc
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/webrtc/video_destination_handler.cc')
-rw-r--r--content/renderer/media/webrtc/video_destination_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/media/webrtc/video_destination_handler.cc b/content/renderer/media/webrtc/video_destination_handler.cc
index 84594bb..bd388be 100644
--- a/content/renderer/media/webrtc/video_destination_handler.cc
+++ b/content/renderer/media/webrtc/video_destination_handler.cc
@@ -83,6 +83,7 @@ PpFrameWriter::~PpFrameWriter() {
void PpFrameWriter::GetCurrentSupportedFormats(
int max_requested_width,
int max_requested_height,
+ double max_requested_frame_rate,
const VideoCaptureDeviceFormatsCB& callback) {
DCHECK(CalledOnValidThread());
DVLOG(3) << "PpFrameWriter::GetCurrentSupportedFormats()";