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

Side by Side 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: post stop callback Created 4 years, 7 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_unittest.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « media/base/pipeline_impl_unittest.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698