vlc/vlc-2.2 | branch: master | Tristan Matthews <le.business...@gmail.com> | Tue Jul 1 00:35:46 2014 -0400| [d044670898fddb2b2bbf41ecab71faf12c91b45c] | committer: Felix Paul Kühne
schroedinger: use CLOCK_FREQ (cherry picked from commit a7cf4c51cbef6d877713153f6f0e71abf6054991) Signed-off-by: Felix Paul Kühne <fkue...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=d044670898fddb2b2bbf41ecab71faf12c91b45c --- modules/codec/schroedinger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/schroedinger.c b/modules/codec/schroedinger.c index add6903..8178553 100644 --- a/modules/codec/schroedinger.c +++ b/modules/codec/schroedinger.c @@ -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; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits