summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-16 21:02:47 +0100
committerwm4 <wm4@nowhere>2015-03-16 21:02:47 +0100
commite0200429f799b4a06e1b4ca18ab7eab504777241 (patch)
treefb57f7ec4d292e1e2c5d6fa6657756d30aabf8de /libass/ass_render.h
parent50799d10fac81f25f2da8353d0394875101ee220 (diff)
downloadlibass-e0200429f799b4a06e1b4ca18ab7eab504777241.tar.bz2
libass-e0200429f799b4a06e1b4ca18ab7eab504777241.tar.xz
Don't use margins for events that should not be overridden
libass already does not use the margins for events using \pos. This is not quite complete: there are other tags that we consider as "not dialogue", and which should not be overridden. These tags do not use EVENT_POSITIONED, and thus use the margins, which can mess up rendering.
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index d7416e18..8b4698b2 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -275,6 +275,8 @@ typedef struct {
unsigned overrides;
// whether to apply font_scale
int apply_font_scale;
+ // whether this is assumed to be explicitly positioned
+ int explicit;
// used to store RenderContext.style when doing selective style overrides
ASS_Style override_style_temp_storage;