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

Unified Diff: content/renderer/pepper/video_encoder_shim.cc

Issue 1996453003: RTC Video Encoder: Use capturer timestamp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/pepper/video_encoder_shim.cc
diff --git a/content/renderer/pepper/video_encoder_shim.cc b/content/renderer/pepper/video_encoder_shim.cc
index ab466b395da949e949277f66c24ae1b807d5a594..e5825e2e17fc43122aadf29cf56859f47fb696af 100644
--- a/content/renderer/pepper/video_encoder_shim.cc
+++ b/content/renderer/pepper/video_encoder_shim.cc
@@ -487,7 +487,9 @@ void VideoEncoderShim::OnBitstreamBufferReady(
bool key_frame) {
DCHECK(RenderThreadImpl::current());
- host_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame);
+ // TODO(llandwerlin): Pass real timestamp.
+ host_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame,
+ base::TimeDelta());
Pawel Osciak 2016/05/23 07:15:52 Could we use frame.timestamp() here?
shenghao 2016/05/24 10:50:19 Done.
}
void VideoEncoderShim::OnNotifyError(

Powered by Google App Engine
This is Rietveld 408576698