* Tiger properties
*/
tiger_renderer *p_tr;
- mtime_t last_render_ts;
bool b_dirty;
uint32_t i_tiger_default_font_color;
p_sys->b_use_tiger = var_CreateGetBool( p_dec, "kate-use-tiger" );
p_sys->p_tr = NULL;
- p_sys->last_render_ts = 0;
/* get initial value of configuration */
p_sys->i_tiger_default_font_color = GetTigerColor( p_dec, "kate-tiger-default-font" );
PROFILE_START( TigerUpdateRegions );
- /* do not render more than once per frame, libtiger renders all events at once */
- if (ts <= p_sys->last_render_ts)
- {
- SubpictureReleaseRegions( p_subpic );
- return;
- }
-
- /* remember what frame we've rendered already */
- p_sys->last_render_ts = ts;
-
/* time in seconds from the start of the stream */
t = (p_subpic->p_sys->i_start + ts - p_subpic->i_start ) / 1000000.0f;