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

Unified Diff: content/browser/renderer_host/media/video_capture_host.cc

Issue 2419793003: media: Use native video enum types in media mojo interfaces (Closed)
Patch Set: media: Use native video enum types in media mojo interfaces Created 4 years, 2 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 | content/common/video_capture.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_host.cc
diff --git a/content/browser/renderer_host/media/video_capture_host.cc b/content/browser/renderer_host/media/video_capture_host.cc
index 492148db5624314cead71a3a67c2cabe9caa57a5..d37dc46fcdb864ee5e43c1e21d17f4249749c132 100644
--- a/content/browser/renderer_host/media/video_capture_host.cc
+++ b/content/browser/renderer_host/media/video_capture_host.cc
@@ -96,7 +96,7 @@ void VideoCaptureHost::OnBufferReady(
video_frame->metadata()->MergeInternalValuesInto(&info->metadata);
DCHECK_EQ(media::PIXEL_FORMAT_I420, video_frame->format());
- info->pixel_format = media::mojom::VideoFormat::I420;
+ info->pixel_format = media::PIXEL_FORMAT_I420;
info->storage_type = media::PIXEL_STORAGE_CPU;
info->coded_size = video_frame->coded_size();
info->visible_rect = video_frame->visible_rect();
« no previous file with comments | « no previous file | content/common/video_capture.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698