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

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: VideoRotation enum added 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
« no previous file with comments | « no previous file | media/base/pipeline.cc » ('j') | media/base/video_decoder_config.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index b8307bd018613c2a7e8f2e4afcc94e2b99b5dca1..38c05cbf0568ff52090238b36d6e3fc6d4c4a669 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_decoder_config.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),
+ rotation(media::kRotate0) {}
scherkus (not reviewing) 2014/07/07 20:52:38 we're inside the media namsepace so we can drop me
bool has_audio;
bool has_video;
gfx::Size natural_size;
+ media::VideoRotation rotation;
scherkus (not reviewing) 2014/07/07 20:52:38 ditto
base::Time timeline_offset;
};
« no previous file with comments | « no previous file | media/base/pipeline.cc » ('j') | media/base/video_decoder_config.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698