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

Unified Diff: webrtc/video_frame.h

Issue 2378003002: Delete webrtc::VideoFrame::CreateEmptyFrame. (Closed)
Patch Set: Created 4 years, 3 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/video_frame.h
diff --git a/webrtc/video_frame.h b/webrtc/video_frame.h
index 17dc49602705b2205a45f2775db44f8187116f92..c9c722232540d032520caa9417b727ecba9623dd 100644
--- a/webrtc/video_frame.h
+++ b/webrtc/video_frame.h
@@ -44,22 +44,6 @@ class VideoFrame {
int64_t render_time_ms,
VideoRotation rotation);
- // CreateEmptyFrame: Sets frame dimensions and allocates buffers based
- // on set dimensions - height and plane stride.
- // If required size is bigger than the allocated one, new buffers of adequate
- // size will be allocated.
-
- // TODO(nisse): Deprecated. Should be deleted in the cricket::VideoFrame and
- // webrtc::VideoFrame merge. If you need to write into the frame, create a
- // VideoFrameBuffer of the desired size, e.g, using I420Buffer::Create and
- // write to that. And if you need to wrap it into a VideoFrame, pass it to the
- // constructor.
- void CreateEmptyFrame(int width,
- int height,
- int stride_y,
- int stride_u,
- int stride_v);
-
// CreateFrame: Sets the frame's members and buffers. If required size is
// bigger than allocated one, new buffers of adequate size will be allocated.

Powered by Google App Engine
This is Rietveld 408576698