| 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.
|
| + 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
|
| -
|
|
|