summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
Commit message (Collapse)AuthorAgeFilesLines
* core, vo: modify OSD redraw architecture, support EOSDUoti Urpala2011-12-061-0/+1
| | | | | | | | | | | | | | | | Previously the core sent VFCTRL_REDRAW_OSD to change OSD contents over the current frame. Change this to VFCTRL_REDRAW_FRAME followed by normal EOSD and OSD drawing calls, then vo_flip_page(). The new version supports changing EOSD contents for libass-rendered subtitles and simplifies the redraw support code needed per VO. vo_xv doesn't support EOSD changes because it relies on vf_ass to render EOSD contents earlier in the filter chain. vo_xv logic is additionally simplified because the previous commit removed the need to track the status of current and next images separately (now each frame is guaranteed to become "visible" soon after we receive it as "next", with no VO code running in the interval between).
* core: allocate OSD text buffers dynamicallyharklu2011-08-091-1/+2
| | | | | | | The OSD text buffers (mp_osd_msg_t.text and osd_state.text) used to be static arrays, with the buffer sizes spread all over the code as magic constants. Make the buffers dynamically allocated and remove the arbitrary length limits.
* cleanup: move global ass_force_reload to struct osd_stateUoti Urpala2011-08-081-0/+2
|
* cleanup: subs: remove global ass_library variableUoti Urpala2011-07-231-0/+1
|
* sub/OSD: move some related files to sub/Uoti Urpala2011-01-261-0/+167