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

Unified Diff: media/video/fake_video_encode_accelerator.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/vt_video_encode_accelerator_mac.cc ('k') | media/video/video_encode_accelerator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/fake_video_encode_accelerator.cc
diff --git a/media/video/fake_video_encode_accelerator.cc b/media/video/fake_video_encode_accelerator.cc
index 0fabbde4b64bc158c61955c0f1c9f47001478a72..45f38e692453da6945ed3461893e78fd28605d91 100644
--- a/media/video/fake_video_encode_accelerator.cc
+++ b/media/video/fake_video_encode_accelerator.cc
@@ -131,9 +131,8 @@ void FakeVideoEncodeAccelerator::DoBitstreamBufferReady(
int32_t bitstream_buffer_id,
size_t payload_size,
bool key_frame) const {
- client_->BitstreamBufferReady(bitstream_buffer_id,
- payload_size,
- key_frame);
+ client_->BitstreamBufferReady(bitstream_buffer_id, payload_size, key_frame,
+ base::Time::Now() - base::Time());
}
} // namespace media
« no previous file with comments | « media/gpu/vt_video_encode_accelerator_mac.cc ('k') | media/video/video_encode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698