summaryrefslogtreecommitdiffstats
path: root/sub/ass_mp.h
Commit message (Collapse)AuthorAgeFilesLines
* options: move libass-related options to structUoti Urpala2011-09-031-16/+7
|
* subs: libass: apply option changes to all track typesUoti Urpala2011-08-081-2/+1
| | | | | | | | | Libass rendering uses two renderer objects to support both VSFilter aspect ratio (mis)behavior emulation and correct rendering. When option values were changed during playback the changes were applied to the renderer used for the currently active track only, and old values could be used if the user then switched to a track using the other renderer object. Fix to update both renderers.
* cleanup: move global ass_force_reload to struct osd_stateUoti Urpala2011-08-081-3/+2
|
* subs: fix per-file --ass-force-styleUoti Urpala2011-07-231-1/+0
| | | | | | | | | | | | | The --ass-force-style option was only applied when the main libass library handle was created. Thus any per-file option changes later had no effect. Do the ass_set_style_overrides() call in per-file initialization instead so that possible changes will be applied. Also move the option variable to the option struct. Current libass will crash (usually) if you set style overrides to a nonempty value, then an empty one. It'll be easier to trigger this bug after this commit, but the problem is not on mplayer2 side. The fix is trivial so hopefully there will be a fixed libass soon.
* cleanup: subs: remove global ass_library variableUoti Urpala2011-07-231-1/+0
|
* sub/OSD: move some related files to sub/Uoti Urpala2011-01-261-0/+82