Commit d0446708 authored by Tristan Matthews's avatar Tristan Matthews Committed by Felix Paul Kühne

schroedinger: use CLOCK_FREQ

(cherry picked from commit a7cf4c51cbef6d877713153f6f0e71abf6054991)
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 0c34f792
......@@ -602,7 +602,7 @@ static void SetVideoFormat( decoder_t *p_dec )
p_sys->p_format = schro_decoder_get_video_format(p_sys->p_schro);
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_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