summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-31 23:19:45 +0200
committerwm4 <wm4@nowhere>2014-06-01 16:43:57 +0200
commitdc0a14e61a1c454d593db5a91de0819921a2ddc9 (patch)
treeaaa530a122ae1f60c531201f0decf44e5318e24c /libass/ass_render.h
parent014837c4a138ae37addeaf72f90c131fcb3ea1fc (diff)
downloadlibass-dc0a14e61a1c454d593db5a91de0819921a2ddc9.tar.bz2
libass-dc0a14e61a1c454d593db5a91de0819921a2ddc9.tar.xz
Fix change detection when text is clipped to screen
The glyphs are clipped before combining, so the combined bitmap can always have the same position, size, and address. This breaks the change detection. Or at least I think that's what happens.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index 2cb2210..8e15ad5 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -232,7 +232,7 @@ typedef struct {
ASS_Event *event;
ASS_Style *style;
int parsed_tags;
- int has_vector_clip;
+ int has_clips; // clips that conflict with cache change detection
ASS_Font *font;
double font_size;