diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-06 18:44:26 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-12-06 18:44:26 +0000 |
commit | e15d11c89edfddaabd460a0c87a4d6d379d59189 (patch) | |
tree | e7f6eb358e1b3e5a1d3b2133cbe0c70cc8b34235 /libass/ass.h | |
parent | 89e3a7b845b45d7dd4770965d9e0e8908590d99b (diff) | |
download | mpv-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.h | 2 |
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 // |