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

Unified Diff: media/base/video_rotation.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/video_rotation.h
diff --git a/media/base/video_rotation.h b/media/base/video_rotation.h
new file mode 100644
index 0000000000000000000000000000000000000000..8b86d4410ef68ef4c4e2e97be8d0f4b008fce2e7
--- /dev/null
+++ b/media/base/video_rotation.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_VIDEO_ROTATION_H_
+#define MEDIA_BASE_VIDEO_ROTATION_H_
+
+namespace media {
+
+// Enumeration to represent 90 degree video rotation for MP4 videos
+// where it can be rotated by 90 degree intervals.
+enum VideoRotation {
+ VIDEO_ROTATION_0 = 0,
+ VIDEO_ROTATION_90,
+ VIDEO_ROTATION_180,
+ VIDEO_ROTATION_270
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_VIDEO_ROTATION_H_

Powered by Google App Engine
This is Rietveld 408576698