[vlc-devel] commit: video_filter/canvas: various aspect-ratio related fixes ( David Flynn )

git version control git at videolan.org
Sat Aug 29 16:06:36 CEST 2009


vlc | branch: 1.0-bugfix | David Flynn <davidf at woaf.net> | Sat Aug  8 14:12:40 2009 +0100| [1b0f6340a8ff738b417c6b33f9ad83890d0c1c79] | committer: Ilkka Ollakka 

video_filter/canvas: various aspect-ratio related fixes

video_filter/canvas: various aspect-ratio related fixes

 - Remove silly defaulting to 4:3.  Instead, compute PAR based
   upon SAR of input video and canvas size.
 - Update documentation to remove ambiguity over what is meant
   by aspect-ratio
 - Fix subpicture calculations to
    (a) be much simpler,
    (b) correctly calculate width and height

Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>
(cherry picked from commit c2752f8142a31b728b797ba915b59fc671744181)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1b0f6340a8ff738b417c6b33f9ad83890d0c1c79
---

 modules/video_filter/canvas.c |  181 +++++++++++++++++++++++++++-------------
 1 files changed, 122 insertions(+), 59 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=1b0f6340a8ff738b417c6b33f9ad83890d0c1c79



More information about the vlc-devel mailing list