summaryrefslogtreecommitdiffstats
path: root/libass/ass_cache.h
diff options
context:
space:
mode:
authorDr.Smile <vabnick@gmail.com>2017-04-08 20:55:41 +0300
committerDr.Smile <vabnick@gmail.com>2017-07-31 06:27:24 +0300
commitabfa6cfdb045d16383b72c78b2ee60929c575a87 (patch)
treeb403ec197b68725ee0ae8bdc3007fed1e10133ac /libass/ass_cache.h
parent49eb2d2ecdc12d2dcd3af8ca00067cb4161679ff (diff)
downloadlibass-abfa6cfdb045d16383b72c78b2ee60929c575a87.tar.bz2
libass-abfa6cfdb045d16383b72c78b2ee60929c575a87.tar.xz
renderer: fix handling of empty outlines
Diffstat (limited to 'libass/ass_cache.h')
-rw-r--r--libass/ass_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_cache.h b/libass/ass_cache.h
index 64751df..03e58c7 100644
--- a/libass/ass_cache.h
+++ b/libass/ass_cache.h
@@ -30,6 +30,7 @@ typedef struct cache Cache;
// cache values
typedef struct {
+ bool valid;
Bitmap *bm; // the actual bitmaps
Bitmap *bm_o;
} BitmapHashValue;
@@ -41,6 +42,7 @@ typedef struct {
} CompositeHashValue;
typedef struct {
+ bool valid;
ASS_Outline outline;
ASS_Outline border[2];
FT_BBox bbox_scaled; // bbox after scaling, but before rotation