Commit bd05cf84 authored by Tristan Matthews's avatar Tristan Matthews

kate: use CLOCK_FREQ

parent a7cf4c51
...@@ -1170,7 +1170,8 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t ...@@ -1170,7 +1170,8 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
} }
p_spu->i_start = p_block->i_pts; p_spu->i_start = p_block->i_pts;
p_spu->i_stop = p_block->i_pts + INT64_C(1000000)*ev->duration*p_sys->ki.gps_denominator/p_sys->ki.gps_numerator; p_spu->i_stop = p_block->i_pts + CLOCK_FREQ *
ev->duration * p_sys->ki.gps_denominator / p_sys->ki.gps_numerator;
p_spu->b_ephemer = false; p_spu->b_ephemer = false;
p_spu->b_absolute = false; p_spu->b_absolute = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment