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

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

Issue 1672713002: MediaStreamVideoSource exports current video format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cd40375079756c351c30a01de463b1ff9aa25864..8ebc7b70e914b84ac854a19d70ed2947d1619a5d 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -87,6 +87,8 @@ class CONTENT_EXPORT MediaStreamVideoSource
// Returns the task runner where video frames will be delivered on.
base::SingleThreadTaskRunner* io_task_runner() const;
+ media::VideoCaptureFormat current_format() const { return current_format_; }
miu 2016/02/05 22:20:47 The format is invalid until the source is started.
miu 2016/02/05 22:20:47 Where is the code that calls this? Note that ther
Mikhail 2016/02/08 08:13:06 I will reference this CL when upload the client co
+
protected:
void DoStopSource() override;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698