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

git version control git at videolan.org
Mon Aug 10 12:52:17 CEST 2009


vlc | branch: master | David Flynn <davidf at woaf.net> | Sat Aug  8 14:12:40 2009 +0100| [c2752f8142a31b728b797ba915b59fc671744181] | 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>

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

 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=c2752f8142a31b728b797ba915b59fc671744181



More information about the vlc-devel mailing list