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

Unified Diff: media/gpu/ipc/client/gpu_video_encode_accelerator_host.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
« no previous file with comments | « media/gpu/ipc/client/gpu_video_encode_accelerator_host.h ('k') | media/gpu/ipc/common/media_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc
diff --git a/media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc b/media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc
index d856673dba466376cb63ef6789482a558fe5e56d..69c242c05e749408c26dd088562544805f2e80eb 100644
--- a/media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc
+++ b/media/gpu/ipc/client/gpu_video_encode_accelerator_host.cc
@@ -302,14 +302,16 @@ void GpuVideoEncodeAcceleratorHost::OnNotifyInputDone(int32_t frame_id) {
void GpuVideoEncodeAcceleratorHost::OnBitstreamBufferReady(
int32_t bitstream_buffer_id,
uint32_t payload_size,
- bool key_frame) {
+ bool key_frame,
+ base::TimeDelta timestamp) {
DCHECK(CalledOnValidThread());
DVLOG(3) << "OnBitstreamBufferReady(): "
"bitstream_buffer_id="
<< bitstream_buffer_id << ", payload_size=" << payload_size
<< ", key_frame=" << key_frame;
if (client_)
- client_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame);
+ client_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame,
+ timestamp);
}
void GpuVideoEncodeAcceleratorHost::OnNotifyError(Error error) {
« no previous file with comments | « media/gpu/ipc/client/gpu_video_encode_accelerator_host.h ('k') | media/gpu/ipc/common/media_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698