Skip to content
Snippets Groups Projects
Commit 4922161d authored by Steve Lhomme's avatar Steve Lhomme
Browse files

kate: use secf_from_vlc_tick() to convert ticks to floats

parent ccd05000
No related branches found
No related tags found
1 merge request!6727kate: use secf_from_vlc_tick() to convert ticks to floats
Pipeline #559622 passed with stage
in 27 minutes and 51 seconds
......@@ -808,7 +808,7 @@ static void TigerUpdateSubpicture( subpicture_t *p_subpic,
const video_format_t *p_fmt_dst = cfg->video_dst;
plane_t *p_plane;
/* time in seconds from the start of the stream */
kate_float t = (p_spusys->i_start + cfg->pts - p_subpic->i_start ) / 1000000.0f;
kate_float t = secf_from_vlc_tick( p_spusys->i_start + cfg->pts - p_subpic->i_start );
bool new_regions = false;
if( !video_format_IsSimilar(cfg->prev_src, p_fmt_src) ||
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment