diff options
author | wm4 <wm4@nowhere> | 2012-12-11 16:24:24 +0100 |
---|---|---|
committer | Rudolf Polzer <divverent@xonotic.org> | 2012-12-28 08:30:15 +0100 |
commit | 844bba6645864ad2ccd9cc40bab2c4553b50d35b (patch) | |
tree | 2d50f94b37b807ec5606d408398c360b32a8fedb /sub/sub.h | |
parent | f3374eecada2cde520d76931055f0509296fc9d6 (diff) | |
download | mpv-844bba6645864ad2ccd9cc40bab2c4553b50d35b.tar.bz2 mpv-844bba6645864ad2ccd9cc40bab2c4553b50d35b.tar.xz |
sub: add ASS to RGBA conversion
This makes implementing new VOs easier, because they don't have to
support the ASS format.
Diffstat (limited to 'sub/sub.h')
-rw-r--r-- | sub/sub.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ #include "core/m_option.h" -// NOTE: VOs must support at least SUBBITMAP_LIBASS and SUBBITMAP_RGBA. +// NOTE: VOs must support at least SUBBITMAP_RGBA. enum sub_bitmap_format { SUBBITMAP_EMPTY = 0,// no bitmaps; always has num_parts==0 SUBBITMAP_LIBASS, // A8, with a per-surface blend color (libass.color) @@ -94,7 +94,7 @@ enum mp_osdtype { MAX_OSD_PARTS }; -#define OSD_CONV_CACHE_MAX 3 +#define OSD_CONV_CACHE_MAX 4 struct osd_object { int type; // OSDTYPE_* |