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

Unified Diff: media/base/video_frame_pool.h

Issue 1637793004: [WIP] Mojo Video Capture thingy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: media/base/video_frame_pool.h
diff --git a/media/base/video_frame_pool.h b/media/base/video_frame_pool.h
index ebd0e249af2e7a9d4f792c4ccb23657c7b5a214c..640aec99a31c832f6512a24c367e826e0f8d59c5 100644
--- a/media/base/video_frame_pool.h
+++ b/media/base/video_frame_pool.h
@@ -26,18 +26,17 @@ class MEDIA_EXPORT VideoFramePool {
VideoFramePool();
~VideoFramePool();
- // Returns a frame from the pool that matches the specified
- // parameters or creates a new frame if no suitable frame exists in
- // the pool. The pool is drained if no matching frame is found.
- // The buffer for the new frame will be zero initialized. Reused frames will
- // not be zero initialized.
+ // Returns a frame from the pool that matches the specified parameters or
+ // creates a new frame if no suitable frame exists in the pool. The pool is
+ // drained if no matching frame is found. The buffer for the new frame will be
+ // zero initialized. Reused frames will not be zero initialized.
scoped_refptr<VideoFrame> CreateFrame(VideoPixelFormat format,
const gfx::Size& coded_size,
const gfx::Rect& visible_rect,
const gfx::Size& natural_size,
base::TimeDelta timestamp);
-protected:
+ protected:
friend class VideoFramePoolTest;
// Returns the number of frames in the pool for testing purposes.
« components/video_capture/stream_impl_unittest.cc ('K') | « media/base/video_frame.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698