Commit a7cf4c51 authored by Tristan Matthews's avatar Tristan Matthews

schroedinger: use CLOCK_FREQ

parent 468745cc
...@@ -602,7 +602,7 @@ static void SetVideoFormat( decoder_t *p_dec ) ...@@ -602,7 +602,7 @@ static void SetVideoFormat( decoder_t *p_dec )
p_sys->p_format = schro_decoder_get_video_format(p_sys->p_schro); p_sys->p_format = schro_decoder_get_video_format(p_sys->p_schro);
if( p_sys->p_format == NULL ) return; if( p_sys->p_format == NULL ) return;
p_sys->i_frame_pts_delta = INT64_C(1000000) p_sys->i_frame_pts_delta = CLOCK_FREQ
* p_sys->p_format->frame_rate_denominator * p_sys->p_format->frame_rate_denominator
/ p_sys->p_format->frame_rate_numerator; / p_sys->p_format->frame_rate_numerator;
......
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