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

Unified Diff: webrtc/test/win/d3d_renderer.cc

Issue 2765243002: Delete RawVideoType enum, use the VideoType enum instead. (Closed)
Patch Set: Define constant webrtc::kI420, for backwards compatibility. Created 3 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
« no previous file with comments | « webrtc/test/vcm_capturer.cc ('k') | webrtc/tools/frame_editing/frame_editing_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/win/d3d_renderer.cc
diff --git a/webrtc/test/win/d3d_renderer.cc b/webrtc/test/win/d3d_renderer.cc
index 7c344ba0b3b0d165864e5d1c1c139884a06b4791..01b032583c7cbf5a8d35380982dbf6d0a65ae3a1 100644
--- a/webrtc/test/win/d3d_renderer.cc
+++ b/webrtc/test/win/d3d_renderer.cc
@@ -203,7 +203,8 @@ void D3dRenderer::OnFrame(const webrtc::VideoFrame& frame) {
if (texture_->LockRect(0, &lock_rect, NULL, 0) != D3D_OK)
return;
- ConvertFromI420(frame, kARGB, 0, static_cast<uint8_t*>(lock_rect.pBits));
+ ConvertFromI420(frame, VideoType::kARGB, 0,
+ static_cast<uint8_t*>(lock_rect.pBits));
texture_->UnlockRect(0);
d3d_device_->BeginScene();
« no previous file with comments | « webrtc/test/vcm_capturer.cc ('k') | webrtc/tools/frame_editing/frame_editing_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698