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

Unified Diff: content/renderer/media/video_capture_impl.cc

Issue 1265433003: Preliminary change for new rtc rendering algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inner class Created 5 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: content/renderer/media/video_capture_impl.cc
diff --git a/content/renderer/media/video_capture_impl.cc b/content/renderer/media/video_capture_impl.cc
index bc80653c819b7d8035e451de25e34154822e6020..082c7e818d796ce4f96aa7daec3a4e8e82a0ec8d 100644
--- a/content/renderer/media/video_capture_impl.cc
+++ b/content/renderer/media/video_capture_impl.cc
@@ -284,6 +284,8 @@ void VideoCaptureImpl::OnBufferReceived(
coded_size,
timestamp - first_frame_timestamp_);
}
+ frame->metadata()->SetTimeTicks(media::VideoFrameMetadata::REFERENCE_TIME,
+ timestamp);
frame->AddDestructionObserver(
base::Bind(&VideoCaptureImpl::DidFinishConsumingFrame,
frame->metadata(),
« no previous file with comments | « no previous file | content/renderer/media/webmediaplayer_ms.h » ('j') | content/renderer/media/webmediaplayer_ms.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698