summaryrefslogtreecommitdiffstats
path: root/libass/ass.h
diff options
context:
space:
mode:
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-06 18:44:26 +0000
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-06 18:44:26 +0000
commite15d11c89edfddaabd460a0c87a4d6d379d59189 (patch)
treee7f6eb358e1b3e5a1d3b2133cbe0c70cc8b34235 /libass/ass.h
parent89e3a7b845b45d7dd4770965d9e0e8908590d99b (diff)
downloadmpv-e15d11c89edfddaabd460a0c87a4d6d379d59189.tar.bz2
mpv-e15d11c89edfddaabd460a0c87a4d6d379d59189.tar.xz
Speed up ASS subtitles display by detecting changes between two consecutive
rendering results. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21522 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass.h')
-rw-r--r--libass/ass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass.h b/libass/ass.h
index ba9a41104b..7cba671ffd 100644
--- a/libass/ass.h
+++ b/libass/ass.h
@@ -89,7 +89,7 @@ int ass_set_fonts(ass_renderer_t* priv, const char* default_font, const char* d
* \param track subtitle track
* \param now video timestamp in milliseconds
*/
-ass_image_t* ass_render_frame(ass_renderer_t *priv, ass_track_t* track, long long now);
+ass_image_t* ass_render_frame(ass_renderer_t *priv, ass_track_t* track, long long now, int* detect_change);
// The following functions operate on track objects and do not need an ass_renderer //