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 ac16f1e693b0e96e3a74ff5dd28b36943e8ca107..bec6febd4d8567ea8d4a3ce3c4018e4f89865a43 100644 |
--- a/content/renderer/media/webrtc/video_destination_handler.cc |
+++ b/content/renderer/media/webrtc/video_destination_handler.cc |
@@ -116,7 +116,9 @@ void PpFrameWriter::PutFrame(PPB_ImageData_Impl* image_data, |
new_frame->stride(media::VideoFrame::kVPlane), |
frame_size.width(), frame_size.height()); |
- DeliverVideoFrame(new_frame); |
+ // TODO(hclam): Should take into account |timestamp|. |
+ // Not all sinks care about the TimeTicks so it's not a problem now. |
Ami GONE FROM CHROMIUM
2014/04/24 21:04:31
ditto comment elsewhere, why wouldn't you use |tim
Alpha Left Google
2014/04/24 22:50:34
The parameter is a TimeTicks. I would need to save
Ami GONE FROM CHROMIUM
2014/04/24 23:05:18
I'm unclear on why synchronization can't be done u
Alpha Left Google
2014/04/24 23:33:53
When a frame is captured in the browser. It is tag
|
+ DeliverVideoFrame(new_frame, format_, base::TimeTicks::Now()); |
} |
// PpFrameWriterProxy is a helper class to make sure the user won't use |
@@ -190,4 +192,3 @@ bool VideoDestinationHandler::Open( |
} |
} // namespace content |
- |