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

Unified Diff: content/public/renderer/media_stream_video_sink.h

Issue 287313002: Pass a TimeTicks along video capture pipeline to represent capture time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/public/renderer/media_stream_video_sink.h
diff --git a/content/public/renderer/media_stream_video_sink.h b/content/public/renderer/media_stream_video_sink.h
index 663f3a86f072d4ca2907877ae60ef9949dda47e6..667ad3619432287ab1dfac1ee53a275b396ad08d 100644
--- a/content/public/renderer/media_stream_video_sink.h
+++ b/content/public/renderer/media_stream_video_sink.h
@@ -8,6 +8,7 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/memory/ref_counted.h"
+#include "base/time/time.h"
#include "content/common/content_export.h"
#include "content/public/renderer/media_stream_sink.h"
@@ -24,7 +25,8 @@ namespace content {
typedef base::Callback<
void(const scoped_refptr<media::VideoFrame>&,
- const media::VideoCaptureFormat&)>
+ const media::VideoCaptureFormat&,
+ const base::TimeTicks& start_ticks)>
Ami GONE FROM CHROMIUM 2014/05/19 19:01:46 doco this is the stream start time.
miu 2014/05/19 21:59:37 Throughout this patch: Why must we pass this value
VideoSinkDeliverFrameCB;
Ami GONE FROM CHROMIUM 2014/05/19 22:14:16 Is it easy to see why VideoSinkDeliverFrameCB and
Alpha Left Google 2014/05/31 00:34:50 I have moved the VideoCaptureDeliverFrameCB to thi
// MediaStreamVideoSink is an interface used for receiving video frames from a

Powered by Google App Engine
This is Rietveld 408576698