summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2012-03-11 06:04:59 +0100
committerGrigori Goronzy <greg@blackbox>2012-03-11 06:04:59 +0100
commit2ba300123f7e6e5b9bbc69976ca4017993af694b (patch)
treea5b8b83ee77a63c71595ddf0abec6f1811954f7f /libass/ass_render.h
parent94b4c0d87182cd0bc84cf49cb793a0ab184df502 (diff)
downloadlibass-2ba300123f7e6e5b9bbc69976ca4017993af694b.tar.bz2
libass-2ba300123f7e6e5b9bbc69976ca4017993af694b.tar.xz
Support \rSTYLENAME syntax
This allows to reset to a certain style, instead of the default style for the current line. For some reason, this was completely missing.
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 c290c4d2..6dca2a22 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -290,7 +290,7 @@ typedef struct {
int ha, hb; // left and width
} Segment;
-void reset_render_context(ASS_Renderer *render_priv);
+void reset_render_context(ASS_Renderer *render_priv, ASS_Style *style);
void ass_free_images(ASS_Image *img);
// XXX: this is actually in ass.c, includes should be fixed later on