diff options
author | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 00:00:09 +0000 |
---|---|---|
committer | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-16 00:00:09 +0000 |
commit | a1d41ed5a126c9426f986930fb420e0c9c3f7faa (patch) | |
tree | 1f0a43e9b1a0edb2748dde1bc68a7915bba6b525 /media/ffmpeg/ffmpeg_common.h | |
parent | 8a6bf98805e68f6e00c7cc8a1aaa258fd2c2c7a5 (diff) | |
download | chromium_src-a1d41ed5a126c9426f986930fb420e0c9c3f7faa.zip chromium_src-a1d41ed5a126c9426f986930fb420e0c9c3f7faa.tar.gz chromium_src-a1d41ed5a126c9426f986930fb420e0c9c3f7faa.tar.bz2 |
Fix aspect ratio and clarify video frame dimensions
BUG=18941,94861
TEST=video-aspect-ratio.html
Review URL: http://codereview.chromium.org/7864009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/ffmpeg/ffmpeg_common.h')
-rw-r--r-- | media/ffmpeg/ffmpeg_common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media/ffmpeg/ffmpeg_common.h b/media/ffmpeg/ffmpeg_common.h index dec47df..6f04e07 100644 --- a/media/ffmpeg/ffmpeg_common.h +++ b/media/ffmpeg/ffmpeg_common.h @@ -105,10 +105,10 @@ MEDIA_EXPORT bool GetStreamByteCountOverRange(AVStream* stream, base::TimeDelta* range_start, base::TimeDelta* range_end); -// Calculates the width and height of the video surface using the video's +// Calculates the natural width and height of the video using the video's // encoded dimensions and sample_aspect_ratio. -int GetSurfaceHeight(AVStream* stream); -int GetSurfaceWidth(AVStream* stream); +int GetNaturalHeight(AVStream* stream); +int GetNaturalWidth(AVStream* stream); // Closes & destroys all AVStreams in the context and then closes & // destroys the AVFormatContext. |