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

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: merge 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..933017ca32a4017aecc1464ddcf889b595d68d9a 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);
+ // |format| contains extra information like the frame rate of this source.
+ virtual void DeliverVideoFrame(const scoped_refptr<media::VideoFrame>& frame,
+ const media::VideoCaptureFormat& format);
// An implementation must fetch the formats that can currently be used by
// the source and call OnSupportedFormats when done.
« no previous file with comments | « content/renderer/media/media_stream_video_capturer_source.cc ('k') | content/renderer/media/media_stream_video_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698