OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MEDIA_BASE_PIPELINE_METADATA_H_ |
| 6 #define MEDIA_BASE_PIPELINE_METADATA_H_ |
| 7 |
| 8 #include "base/time/time.h" |
| 9 #include "media/base/video_rotation.h" |
| 10 #include "ui/gfx/geometry/size.h" |
| 11 |
| 12 namespace media { |
| 13 |
| 14 // Metadata describing a pipeline once it has been initialized. |
| 15 struct PipelineMetadata { |
| 16 PipelineMetadata() |
| 17 : has_audio(false), has_video(false), video_rotation(VIDEO_ROTATION_0) {} |
| 18 |
| 19 bool has_audio; |
| 20 bool has_video; |
| 21 gfx::Size natural_size; |
| 22 VideoRotation video_rotation; |
| 23 base::Time timeline_offset; |
| 24 }; |
| 25 |
| 26 } // namespace media |
| 27 |
| 28 #endif // MEDIA_BASE_PIPELINE_METADATA_H_ |
OLD | NEW |