diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-06-09 21:03:18 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-06-10 09:57:50 +0200 |
commit | 4adf5dfadb9ae310199bb0dc77481c233342d977 (patch) | |
tree | 96c17f78fd9e3f646168c9603406a170b84cd80e /doc/outdevs.texi | |
parent | 3ff6b1a2b359d932fe865d20b706b8911aa93ea4 (diff) | |
download | ffmpeg-4adf5dfadb9ae310199bb0dc77481c233342d977.tar.gz |
sdl: fix aspect ratio computations.
The rounding was wrong due to incorrect ue of floats,
changed to rationals and av_rescale.
The results were not properly passed to SDL.
Diffstat (limited to 'doc/outdevs.texi')
-rw-r--r-- | doc/outdevs.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/outdevs.texi b/doc/outdevs.texi index 8de4fe6ec4..8034a228ba 100644 --- a/doc/outdevs.texi +++ b/doc/outdevs.texi @@ -55,7 +55,8 @@ to the same value of @var{window_title}. @item window_size Set the SDL window size, can be a string of the form @var{width}x@var{height} or a video size abbreviation. -If not specified it defaults to the size of the input video. +If not specified it defaults to the size of the input video, +downscaled according to the aspect ratio. @end table @subsection Examples |