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

Unified Diff: media/base/video_frame_pool.cc

Issue 183113004: Make sure MediaStreamVideoSource support cropping. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Crop with origin 0,0 and temporary disable failing test. Created 6 years, 9 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.cc
diff --git a/media/base/video_frame_pool.cc b/media/base/video_frame_pool.cc
index 3ee7c1ad0394eb0d623c59ab684f81f9760874f2..fa2b0866b89dbb28a481d6cbceccc1e9edf47c94 100644
--- a/media/base/video_frame_pool.cc
+++ b/media/base/video_frame_pool.cc
@@ -86,7 +86,8 @@ scoped_refptr<VideoFrame> VideoFramePool::PoolImpl::CreateFrame(
}
return VideoFrame::WrapVideoFrame(
- frame, base::Bind(&VideoFramePool::PoolImpl::FrameReleased, this, frame));
+ frame, visible_rect,
+ base::Bind(&VideoFramePool::PoolImpl::FrameReleased, this, frame));
}
void VideoFramePool::PoolImpl::Shutdown() {

Powered by Google App Engine
This is Rietveld 408576698