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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | media/base/pipeline_metadata.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_PIPELINE_METADATA_H_ 5 #ifndef MEDIA_BASE_PIPELINE_METADATA_H_
6 #define MEDIA_BASE_PIPELINE_METADATA_H_ 6 #define MEDIA_BASE_PIPELINE_METADATA_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "media/base/audio_decoder_config.h"
10 #include "media/base/video_decoder_config.h"
9 #include "media/base/video_rotation.h" 11 #include "media/base/video_rotation.h"
10 #include "ui/gfx/geometry/size.h" 12 #include "ui/gfx/geometry/size.h"
11 13
12 namespace media { 14 namespace media {
13 15
14 // Metadata describing a pipeline once it has been initialized. 16 // Metadata describing a pipeline once it has been initialized.
15 struct PipelineMetadata { 17 struct MEDIA_EXPORT PipelineMetadata {
16 PipelineMetadata() 18 PipelineMetadata();
17 : has_audio(false), has_video(false), video_rotation(VIDEO_ROTATION_0) {} 19 ~PipelineMetadata();
20
21 // Required by Chromium style: Complex class/struct needs an explicit
22 // out-of-line copy constructor.
23 PipelineMetadata(const PipelineMetadata&);
18 24
19 bool has_audio; 25 bool has_audio;
20 bool has_video; 26 bool has_video;
27 AudioDecoderConfig audio_decoder_config;
28 VideoDecoderConfig video_decoder_config;
21 gfx::Size natural_size; 29 gfx::Size natural_size;
22 VideoRotation video_rotation; 30 VideoRotation video_rotation;
23 base::Time timeline_offset; 31 base::Time timeline_offset;
24 }; 32 };
25 33
26 } // namespace media 34 } // namespace media
27 35
28 #endif // MEDIA_BASE_PIPELINE_METADATA_H_ 36 #endif // MEDIA_BASE_PIPELINE_METADATA_H_
OLDNEW
« 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