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

Unified Diff: media/video/video_decode_engine.h

Issue 7932005: Reland r101418: Fix aspect ratio and clarify video frame dimensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « media/video/ffmpeg_video_decode_engine_unittest.cc ('k') | webkit/glue/media/video_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_engine.h
diff --git a/media/video/video_decode_engine.h b/media/video/video_decode_engine.h
index 6171232bdc912ef4772d2a48998803f1aa14e90c..4ec7cf5c867b4763cc6f63dc80775cb0cdf135aa 100644
--- a/media/video/video_decode_engine.h
+++ b/media/video/video_decode_engine.h
@@ -10,6 +10,7 @@
#include "media/base/media_export.h"
#include "media/base/video_decoder_config.h"
#include "media/base/video_frame.h"
+#include "ui/gfx/size.h"
class MessageLoop;
@@ -24,11 +25,8 @@ struct VideoCodecInfo {
// Other parameter is only meaningful when this is true.
bool success;
- // Can be different with container's value.
- uint32 surface_width;
-
- // Can be different with container's value.
- uint32 surface_height;
+ // Natural dimensions of video. May be different from coded and visible sizes.
+ gfx::Size natural_size;
};
class MEDIA_EXPORT VideoDecodeEngine {
« no previous file with comments | « media/video/ffmpeg_video_decode_engine_unittest.cc ('k') | webkit/glue/media/video_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698