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

Unified Diff: webrtc/media/base/fakevideocapturer.h

Issue 2383093002: Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. (Closed)
Patch Set: Addressed Per's comments, except #include vs forward declare. 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
Index: webrtc/media/base/fakevideocapturer.h
diff --git a/webrtc/media/base/fakevideocapturer.h b/webrtc/media/base/fakevideocapturer.h
index 5b6a65cfa4de16bd644ab7988142d1c64b887c1e..6857e032ab0274f7c1419bb4aa4e4f246b684edf 100644
--- a/webrtc/media/base/fakevideocapturer.h
+++ b/webrtc/media/base/fakevideocapturer.h
@@ -19,7 +19,7 @@
#include "webrtc/base/timeutils.h"
#include "webrtc/media/base/videocapturer.h"
#include "webrtc/media/base/videocommon.h"
-#include "webrtc/media/base/videoframe.h"
+#include "webrtc/video_frame.h"
namespace cricket {
@@ -97,8 +97,9 @@ class FakeVideoCapturer : public cricket::VideoCapturer {
webrtc::I420Buffer::Create(adapted_width, adapted_height));
buffer->InitializeData();
- OnFrame(WebRtcVideoFrame(buffer, rotation_,
- next_timestamp_ / rtc::kNumNanosecsPerMicrosec),
+ OnFrame(webrtc::VideoFrame(
+ buffer, rotation_,
+ next_timestamp_ / rtc::kNumNanosecsPerMicrosec),
width, height);
}
next_timestamp_ += timestamp_interval;

Powered by Google App Engine
This is Rietveld 408576698