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

Unified Diff: content/renderer/media/media_stream_video_source.h

Issue 242013002: Refactor video capturing code in the render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again :( Created 6 years, 8 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/renderer/media/media_stream_video_source.h
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index 5c5289dd776dd5864bbdd8187cb98d9a38419cd8..235d5b3838b243e675e5dd85582ccef8ebb38662 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -82,7 +82,9 @@ class CONTENT_EXPORT MediaStreamVideoSource
// Delivers |frame| to registered tracks according to their constraints.
// Note: current implementation assumes |frame| be contiguous layout of image
// planes and I420.
- virtual void DeliverVideoFrame(const scoped_refptr<media::VideoFrame>& frame);
+ virtual void DeliverVideoFrame(const scoped_refptr<media::VideoFrame>& frame,
+ const media::VideoCaptureFormat& format,
+ const base::TimeTicks& timestamp);
Ami GONE FROM CHROMIUM 2014/04/24 21:04:31 media::VideoFrame has a timestamp field. Why is t
Alpha Left Google 2014/04/24 22:50:34 Done.
Alpha Left Google 2014/04/24 22:50:34 It is there to allow synchronization with other so
// An implementation must fetch the formats that can currently be used by
// the source and call OnSupportedFormats when done.

Powered by Google App Engine
This is Rietveld 408576698