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

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: Created 6 years, 10 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 4c5a5e31e22d1a6ab64b7c852299640ae7f8e3df..3ee7c1ad0394eb0d623c59ab684f81f9760874f2 100644
--- a/media/base/video_frame_pool.cc
+++ b/media/base/video_frame_pool.cc
@@ -75,14 +75,14 @@ scoped_refptr<VideoFrame> VideoFramePool::PoolImpl::CreateFrame(
pool_frame->visible_rect() == visible_rect &&
pool_frame->natural_size() == natural_size) {
frame = pool_frame;
- frame->SetTimestamp(kNoTimestamp());
+ frame->SetTimestamp(timestamp);
perkj_chrome 2014/02/27 14:15:39 Note - this change will be landed in a separate cl
break;
}
}
if (!frame) {
frame = VideoFrame::CreateFrame(
- format, coded_size, visible_rect, natural_size, kNoTimestamp());
+ format, coded_size, visible_rect, natural_size, timestamp);
}
return VideoFrame::WrapVideoFrame(

Powered by Google App Engine
This is Rietveld 408576698