Add ass_set_pixel_aspect(), deprecate ass_set_aspect_ratio()
commitd29915d067582a8fe307b67f7ad9aba2b05bb710
authorwm4 <wm4@nowhere>
Wed, 20 Mar 2013 00:09:12 +0000 (20 01:09 +0100)
committerwm4 <wm4@nowhere>
Fri, 29 Mar 2013 22:06:28 +0000 (29 23:06 +0100)
tree73fcb13c2e231766b461570076d82b295e444795
parent35a62a5e6025c6807e1bdf86dd9abbc6fea74808
Add ass_set_pixel_aspect(), deprecate ass_set_aspect_ratio()

ass_set_aspect_ratio() is confusing, because it takes a DAR and SAR
value, while libass just needs a single pixel aspect ratio. Introduce
ass_set_pixel_aspect(), which sets the pixel aspect ratio directly.

ass_set_aspect_ratio() is considered deprecated. There's no reason to
remove it, but hopefully directing users to ass_set_pixel_aspect() will
make for a simpler API.

Improve the doxygen and document what ass_set_margins() actually does.
libass/ass.h
libass/ass_render_api.c
libass/libass.sym