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

Unified Diff: media/base/pipeline_metadata.h

Issue 1904793002: Move Pipeline permanent callbacks into Pipeline::Client interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 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: media/base/pipeline_metadata.h
diff --git a/media/base/pipeline_metadata.h b/media/base/pipeline_metadata.h
new file mode 100644
index 0000000000000000000000000000000000000000..1955fbde9f18bc6a6062e51f7edfee07060cdf88
--- /dev/null
+++ b/media/base/pipeline_metadata.h
@@ -0,0 +1,28 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_PIPELINE_METADATA_H_
+#define MEDIA_BASE_PIPELINE_METADATA_H_
+
+#include "base/time/time.h"
+#include "media/base/video_rotation.h"
+#include "ui/gfx/geometry/size.h"
+
+namespace media {
+
+// Metadata describing a pipeline once it has been initialized.
+struct PipelineMetadata {
+ PipelineMetadata()
+ : has_audio(false), has_video(false), video_rotation(VIDEO_ROTATION_0) {}
+
+ bool has_audio;
+ bool has_video;
+ gfx::Size natural_size;
+ VideoRotation video_rotation;
+ base::Time timeline_offset;
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_PIPELINE_METADATA_H_

Powered by Google App Engine
This is Rietveld 408576698