]> git.sesse.net Git - vlc/commit
video_filter/canvas: various aspect-ratio related fixes
authorDavid Flynn <davidf@woaf.net>
Sat, 8 Aug 2009 13:12:40 +0000 (14:12 +0100)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 10 Aug 2009 10:51:31 +0000 (13:51 +0300)
commitc2752f8142a31b728b797ba915b59fc671744181
tree31d10fded320839a5a46778b6bae6e1eeae6f0d7
parente23c4d69faf2003599f01b366fc64e1c006c34ea
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@videolan.org>
modules/video_filter/canvas.c