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

Unified Diff: content/renderer/media/webrtc/video_destination_handler.cc

Issue 287313002: Pass a TimeTicks along video capture pipeline to represent capture time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/webrtc/video_destination_handler.cc
diff --git a/content/renderer/media/webrtc/video_destination_handler.cc b/content/renderer/media/webrtc/video_destination_handler.cc
index c8eff871cee87a01d8500f7987ab87aaceafb89b..d71821b5f027b5089969556071ab277cace6536e 100644
--- a/content/renderer/media/webrtc/video_destination_handler.cc
+++ b/content/renderer/media/webrtc/video_destination_handler.cc
@@ -67,7 +67,9 @@ void PpFrameWriter::FrameWriterDelegate::DeliverFrameOnIO(
const scoped_refptr<media::VideoFrame>& frame,
const media::VideoCaptureFormat& format) {
DCHECK(io_message_loop_->BelongsToCurrentThread());
- new_frame_callback_.Run(frame, format);
+ // The time when this stream starts is unknown so give a null value to
Ami GONE FROM CHROMIUM 2014/05/19 19:01:46 Ditto
+ // |start_ticks|.
+ new_frame_callback_.Run(frame, format, base::TimeTicks());
}
PpFrameWriter::PpFrameWriter() {

Powered by Google App Engine
This is Rietveld 408576698