summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-12-11 16:24:24 +0100
committerRudolf Polzer <divverent@xonotic.org>2012-12-28 08:30:15 +0100
commit844bba6645864ad2ccd9cc40bab2c4553b50d35b (patch)
tree2d50f94b37b807ec5606d408398c360b32a8fedb /sub/sub.h
parentf3374eecada2cde520d76931055f0509296fc9d6 (diff)
downloadmpv-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 0de36fedb5..ed4401cacf 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -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_*