summaryrefslogtreecommitdiffstats
path: root/sub/osd_libass.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-28 21:49:32 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:31 +0200
commitbef616ede902b2e75f4b3f75f64b68998f1fee48 (patch)
treeab9cde2e292f27714fd0e852b82be18d79e026e4 /sub/osd_libass.c
parent18ab695a7296c4bceeb64bef0a898ed3807facd2 (diff)
downloadmpv-bef616ede902b2e75f4b3f75f64b68998f1fee48.tar.bz2
mpv-bef616ede902b2e75f4b3f75f64b68998f1fee48.tar.xz
vo_vdpau: use new EOSD for OSD, remove support for old OSD format
This allows vo_vdpau to render OSD directly, without the indirection through the old OSD API, and without the additional conversions. Remove support for the old OSD format. Only the mplayer DVD subtitle decoder still generates this format. Although the new OSD interface does support this format, remove it from vo_vdpau. It would be relatively hard to support it in the EOSD code, as it requires two surfaces. (These two surfaces are blended on top of each other to emulate the mplayer OSD format.) The correct way to implement direct support for DVD subs would consist of adding a paletted image format of some sort. But even sd_lavc converts paletted subtitle images to RGBA, so doing something special just for DVD subs is not worth it. This means the frontend (sub.c) converts the subtitles to RGBA if it detects that vo_vdpau does not support them natively.
Diffstat (limited to 'sub/osd_libass.c')
0 files changed, 0 insertions, 0 deletions