summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/pipeline.h')
-rw-r--r--media/base/pipeline.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 3e1f919..1945010 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.