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

Unified Diff: webrtc/media/engine/webrtcvideoframe.cc

Issue 2262443003: Delete VideoFrameFactory, CapturedFrame, and related code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 4 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/engine/webrtcvideoframe.cc
diff --git a/webrtc/media/engine/webrtcvideoframe.cc b/webrtc/media/engine/webrtcvideoframe.cc
index 71219d13f922d4f47f1b1dab763d7dc8612051c3..4dc2ad1edcf5fdca695cfd452a4d27d0317a4827 100644
--- a/webrtc/media/engine/webrtcvideoframe.cc
+++ b/webrtc/media/engine/webrtcvideoframe.cc
@@ -66,14 +66,6 @@ bool WebRtcVideoFrame::Init(uint32_t format,
true /*apply_rotation*/);
}
-bool WebRtcVideoFrame::Init(const CapturedFrame* frame, int dw, int dh,
- bool apply_rotation) {
- return Reset(frame->fourcc, frame->width, frame->height, dw, dh,
- static_cast<uint8_t*>(frame->data), frame->data_size,
- frame->time_stamp / rtc::kNumNanosecsPerMicrosec,
- frame->rotation, apply_rotation);
-}
-
int WebRtcVideoFrame::width() const {
return video_frame_buffer_ ? video_frame_buffer_->width() : 0;
}

Powered by Google App Engine
This is Rietveld 408576698