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

Unified Diff: media/base/pipeline_metadata.h

Issue 2389473002: Media Remoting: Add RemotingController. (Closed)
Patch Set: Rebased. Created 4 years, 2 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 | « media/base/pipeline_impl.cc ('k') | media/base/pipeline_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/base/pipeline_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698