Index: media/base/pipeline_metadata.h |
diff --git a/media/base/pipeline_metadata.h b/media/base/pipeline_metadata.h |
index 1955fbde9f18bc6a6062e51f7edfee07060cdf88..d3030efdc80fa1e3254c59808288733114487f2c 100644 |
--- a/media/base/pipeline_metadata.h |
+++ b/media/base/pipeline_metadata.h |
@@ -6,18 +6,26 @@ |
#define MEDIA_BASE_PIPELINE_METADATA_H_ |
#include "base/time/time.h" |
+#include "media/base/audio_decoder_config.h" |
+#include "media/base/video_decoder_config.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) {} |
+struct MEDIA_EXPORT PipelineMetadata { |
+ PipelineMetadata(); |
+ ~PipelineMetadata(); |
+ |
+ // Required by Chromium style: Complex class/struct needs an explicit |
+ // out-of-line copy constructor. |
+ PipelineMetadata(const PipelineMetadata&); |
bool has_audio; |
bool has_video; |
+ AudioDecoderConfig audio_decoder_config; |
+ VideoDecoderConfig video_decoder_config; |
gfx::Size natural_size; |
VideoRotation video_rotation; |
base::Time timeline_offset; |