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

Unified Diff: webrtc/tools/frame_editing/frame_editing_lib.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/win/d3d_renderer.cc ('k') | webrtc/tools/frame_editing/frame_editing_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/frame_editing/frame_editing_lib.cc
diff --git a/webrtc/tools/frame_editing/frame_editing_lib.cc b/webrtc/tools/frame_editing/frame_editing_lib.cc
index f68dc1ffe9afa9a77d5b7498562fc135380cb0dc..175a6765bd10f69af2d43fb6b1168599e19f25a3 100644
--- a/webrtc/tools/frame_editing/frame_editing_lib.cc
+++ b/webrtc/tools/frame_editing/frame_editing_lib.cc
@@ -35,7 +35,7 @@ int EditFrames(const std::string& in_path, int width, int height,
}
// Frame size of I420.
- size_t frame_length = CalcBufferSize(kI420, width, height);
+ size_t frame_length = CalcBufferSize(VideoType::kI420, width, height);
std::unique_ptr<uint8_t[]> temp_buffer(new uint8_t[frame_length]);
« no previous file with comments | « webrtc/test/win/d3d_renderer.cc ('k') | webrtc/tools/frame_editing/frame_editing_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698