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

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: Removed unneeded variable 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 e4a52c3dd5863f8ce9ae78580696c3cb2cda960b..dad65cfb06146943a71cee64e8d377398e91b237 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -19,6 +19,7 @@
#include "media/base/pipeline_status.h"
#include "media/base/ranges.h"
#include "media/base/serial_runner.h"
+#include "media/base/video_rotation.h"
#include "ui/gfx/size.h"
namespace base {
@@ -37,11 +38,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