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

Unified Diff: webkit/media/webvideoframe_impl.cc

Issue 10035054: Merge VideoCaptureDevice::Capability with media::VideoCaptureCapability (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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: webkit/media/webvideoframe_impl.cc
diff --git a/webkit/media/webvideoframe_impl.cc b/webkit/media/webvideoframe_impl.cc
index d6e178c24cdcd433c4c6feb47d72d835bb422957..23df382e376cefd2eff395e4cfc89797458fb04c 100644
--- a/webkit/media/webvideoframe_impl.cc
+++ b/webkit/media/webvideoframe_impl.cc
@@ -73,6 +73,14 @@ unsigned WebVideoFrameImpl::planes() const {
break;
case media::VideoFrame::NATIVE_TEXTURE:
return 0;
+ case media::VideoFrame::kColorUnknown:
+ case media::VideoFrame::kI420:
+ case media::VideoFrame::kYUY2:
+ case media::VideoFrame::kUYVY:
+ case media::VideoFrame::kRGB24:
+ case media::VideoFrame::kARGB:
+ case media::VideoFrame::kMJPEG:
+ break;
}
NOTREACHED();
return 0;
« media/base/video_frame.h ('K') | « media/video/capture/win/video_capture_device_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698