summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-06 13:14:39 +0100
committerwm4 <wm4@nowhere>2015-03-06 13:14:39 +0100
commit24ea56a20e760e23c2bfd02377d2d0d1c1523c23 (patch)
treee6558ea707da11a7427b99ab297d6930b7750c48 /libass/ass_render.c
parent51a93b5571acf51d3c7fe841d3e1e34720524c23 (diff)
downloadlibass-24ea56a20e760e23c2bfd02377d2d0d1c1523c23.tar.bz2
libass-24ea56a20e760e23c2bfd02377d2d0d1c1523c23.tar.xz
Refine list of tags that prevent selective style overrides
Somewhat stolen from: https://github.com/Cyberbeing/xy-VSFilter/blob/xy_sub_filter_rc3/src/subtitles/RTS.cpp#L2004 (xy-VSFilter started work on this in commit 014da6d9766417d7886eb867c9f2c14038f2a226)
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r--libass/ass_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c
index b03fc30..4774dab 100644
--- a/libass/ass_render.c
+++ b/libass/ass_render.c
@@ -756,7 +756,7 @@ static ASS_Style *handle_selective_style_overrides(ASS_Renderer *render_priv,
// The user style was set with ass_set_selective_style_override().
ASS_Style *user = &render_priv->user_override_style;
ASS_Style *new = &render_priv->state.override_style_temp_storage;
- int explicit = event_is_positioned(render_priv->state.event->Text);
+ int explicit = event_has_hard_overrides(render_priv->state.event->Text);
int requested = render_priv->settings.selective_style_overrides;
double scale;