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

Unified Diff: media/base/pipeline.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/base/mock_filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »
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 3e1f919045bce9b510d9991c0eaeeac013956941..1945010f11e99423ba16ef8c510b3c86092373dc 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -147,9 +147,10 @@ class MEDIA_EXPORT Pipeline : public base::RefCountedThreadSafe<Pipeline> {
// determined or can not be determined, this value is 0.
virtual int64 GetTotalBytes() const = 0;
- // Gets the size of the video output in pixel units. If there is no video
- // or the video has not been rendered yet, the width and height will be 0.
- virtual void GetVideoSize(size_t* width_out, size_t* height_out) const = 0;
+ // Gets the natural size of the video output in pixel units. If there is no
+ // video or the video has not been rendered yet, the width and height will
+ // be 0.
+ virtual void GetNaturalVideoSize(gfx::Size* out_size) const = 0;
// If this method returns true, that means the data source is a streaming
// data source. Seeking may not be possible.
« no previous file with comments | « media/base/mock_filters.h ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698