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

Unified Diff: trunk/src/content/renderer/media/rtc_video_capturer.cc

Issue 84393002: Revert 236927 "Reorganize media::VideoCapture* types" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/content/renderer/media/rtc_video_capturer.cc
===================================================================
--- trunk/src/content/renderer/media/rtc_video_capturer.cc (revision 236934)
+++ trunk/src/content/renderer/media/rtc_video_capturer.cc (working copy)
@@ -6,7 +6,6 @@
#include "base/bind.h"
#include "base/debug/trace_event.h"
-#include "media/base/video_frame.h"
namespace content {
@@ -31,10 +30,11 @@
}
media::VideoCaptureParams request;
- request.requested_format = media::VideoCaptureFormat(
- gfx::Size(capture_format.width, capture_format.height),
- capture_format.framerate(),
- media::PIXEL_FORMAT_I420);
+ request.requested_format =
+ media::VideoCaptureFormat(capture_format.width,
+ capture_format.height,
+ capture_format.framerate(),
+ media::ConstantResolutionVideoCaptureDevice);
SetCaptureFormat(&capture_format);
« no previous file with comments | « trunk/src/content/renderer/media/rtc_video_capture_delegate.cc ('k') | trunk/src/content/renderer/media/video_capture_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698