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

Unified Diff: media/base/pipeline.h

Issue 363813002: Update to Pipeline Metadata and Decoder Stream for Orientation Data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split enum to own file Created 6 years, 5 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
Index: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index b8307bd018613c2a7e8f2e4afcc94e2b99b5dca1..e5b778e0cd7a406d6f87350b841ef8123abf0afa 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -19,6 +19,8 @@
#include "media/base/pipeline_status.h"
#include "media/base/ranges.h"
#include "media/base/serial_runner.h"
+#include "media/base/video_decoder_config.h"
scherkus (not reviewing) 2014/07/07 22:41:11 no longer need this include
+#include "media/base/video_rotation.h"
#include "ui/gfx/size.h"
namespace base {
@@ -37,11 +39,13 @@ class VideoRenderer;
// Metadata describing a pipeline once it has been initialized.
struct PipelineMetadata {
- PipelineMetadata() : has_audio(false), has_video(false) {}
+ PipelineMetadata()
+ : has_audio(false), has_video(false), video_rotation(VIDEO_ROTATION_0) {}
bool has_audio;
bool has_video;
gfx::Size natural_size;
+ VideoRotation video_rotation;
base::Time timeline_offset;
};

Powered by Google App Engine
This is Rietveld 408576698