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

Unified Diff: content/common/video_capture.mojom

Issue 2524103002: [Mojo Video Capture] Move Mojo struct VideoFrameInfo from content/common to media/capture/mojo (Closed)
Patch Set: Created 4 years, 1 month 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/common/video_capture.mojom
diff --git a/content/common/video_capture.mojom b/content/common/video_capture.mojom
index 4c6d487be3ec3156260cc6bebb4a3db6b691979f..ca24beafdadd967866cb0c3bd1ba45b410c643ab 100644
--- a/content/common/video_capture.mojom
+++ b/content/common/video_capture.mojom
@@ -51,15 +51,6 @@ import "ui/gfx/geometry/mojo/geometry.mojom";
// | ---> StopCapture |
// | OnStateChanged(STOPPED) <--- |
-struct VideoFrameInfo{
- mojo.common.mojom.TimeDelta timestamp;
- mojo.common.mojom.DictionaryValue metadata;
- media.mojom.VideoPixelFormat pixel_format;
- media.mojom.VideoPixelStorage storage_type;
- gfx.mojom.Size coded_size;
- gfx.mojom.Rect visible_rect;
-};
-
enum VideoCaptureState {
STARTED,
PAUSED,
@@ -80,7 +71,7 @@ interface VideoCaptureObserver {
// |buffer_id| has video capture data with |info| containing the associated
// VideoFrame constituent parts.
- OnBufferReady(int32 buffer_id, VideoFrameInfo info);
+ OnBufferReady(int32 buffer_id, media.mojom.VideoFrameInfo info);
// |buffer_id| has been released by VideoCaptureHost and must not be used.
OnBufferDestroyed(int32 buffer_id);
« no previous file with comments | « content/browser/renderer_host/media/video_capture_unittest.cc ('k') | content/renderer/media/video_capture_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698