Chromium Code Reviews| 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..bd4fc0d14ed008198a16a9bd5616daf23af7cc3f 100644 |
| --- a/media/video/video_encode_accelerator.h |
| +++ b/media/video/video_encode_accelerator.h |
| @@ -79,9 +79,11 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
| // |bitstream_buffer_id| is the id of the buffer that is ready. |
| // |payload_size| is the byte size of the used portion of the buffer. |
| // |key_frame| is true if this delivered frame is a keyframe. |
| + // |timestamp| is the captured NTP timestamp in milliseconds. |
|
Pawel Osciak
2016/05/26 07:39:23
TimeDelta is not necessarily in milliseconds, nor
shenghao
2016/05/26 10:38: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; |
| // Error notification callback. Note that errors in Initialize() will not be |
| // reported here, but will instead be indicated by a false return value |