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

Unified Diff: media/video/capture/fake_video_capture_device_factory.cc

Issue 770713005: FakeVideoCaptureDevice: add 1080p resolution (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sorted out content_browsertests Created 6 years 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
Index: media/video/capture/fake_video_capture_device_factory.cc
diff --git a/media/video/capture/fake_video_capture_device_factory.cc b/media/video/capture/fake_video_capture_device_factory.cc
index c8f4706307a0ac45c078bf3e96ea32748d812302..494bcf567ade70ce7141fbc95b88862447faf164 100644
--- a/media/video/capture/fake_video_capture_device_factory.cc
+++ b/media/video/capture/fake_video_capture_device_factory.cc
@@ -48,7 +48,8 @@ void FakeVideoCaptureDeviceFactory::GetDeviceSupportedFormats(
const int frame_rate = 1000 / FakeVideoCaptureDevice::kFakeCaptureTimeoutMs;
const gfx::Size supported_sizes[] = {gfx::Size(320, 240),
gfx::Size(640, 480),
- gfx::Size(1280, 720)};
+ gfx::Size(1280, 720),
+ gfx::Size(1920, 1080)};
supported_formats->clear();
for (size_t i = 0; i < arraysize(supported_sizes); ++i) {
supported_formats->push_back(VideoCaptureFormat(supported_sizes[i],
« no previous file with comments | « media/video/capture/fake_video_capture_device.cc ('k') | media/video/capture/fake_video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698