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

Unified Diff: media/video/video_encode_accelerator.h

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: media/video/video_encode_accelerator.h
diff --git a/media/video/video_encode_accelerator.h b/media/video/video_encode_accelerator.h
index b147d9140955012b27f9b16c064e1dc61abe84f2..0f07f59b66099a230da9bde1ea840387723e0db5 100644
--- a/media/video/video_encode_accelerator.h
+++ b/media/video/video_encode_accelerator.h
@@ -81,7 +81,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator {
// |key_frame| is true if this delivered frame is a keyframe.
sandersd (OOO until July 31) 2016/05/19 20:27:12 Document |timestamp|.
shenghao 2016/05/24 10:50:20 Done.
virtual void BitstreamBufferReady(int32_t bitstream_buffer_id,
size_t payload_size,
- bool key_frame) = 0;
+ bool key_frame,
+ base::TimeDelta timestamp) = 0;
Pawel Osciak 2016/05/23 07:15:53 Perhaps const TimeDelta& here and in other places?
shenghao 2016/05/24 10:50:19 All time classes are copyable, assignable, and occ
// Error notification callback. Note that errors in Initialize() will not be
// reported here, but will instead be indicated by a false return value
« media/video/fake_video_encode_accelerator.cc ('K') | « media/video/fake_video_encode_accelerator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698