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

Unified Diff: content/renderer/media/capture_video_decoder.cc

Issue 10035054: Merge VideoCaptureDevice::Capability with media::VideoCaptureCapability (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix a namespace issue Created 8 years, 8 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
Index: content/renderer/media/capture_video_decoder.cc
diff --git a/content/renderer/media/capture_video_decoder.cc b/content/renderer/media/capture_video_decoder.cc
index 0309c0484b04caf40c186ae2f837e11bd41d9c42..8c15a3ba270b1c7c55302c6e1dc80988ea4f686a 100644
--- a/content/renderer/media/capture_video_decoder.cc
+++ b/content/renderer/media/capture_video_decoder.cc
@@ -261,7 +261,7 @@ void CaptureVideoDecoder::OnBufferReadyOnDecoderThread(
// Assume YV12 format. Note that camera gives YUV and media pipeline video
// renderer asks for YVU. The following code did the conversion.
- DCHECK_EQ(capability_.color, media::VideoFrame::I420);
+ DCHECK_EQ(capability_.color, media::VideoCaptureCapability::kI420);
int y_width = buf->width;
int y_height = buf->height;
int uv_width = buf->width / 2;

Powered by Google App Engine
This is Rietveld 408576698