[vlc-commits] schroedinger: use CLOCK_FREQ

Tristan Matthews git at videolan.org
Tue Jul 1 06:47:44 CEST 2014


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Tue Jul  1 00:35:46 2014 -0400| [a7cf4c51cbef6d877713153f6f0e71abf6054991] | committer: Tristan Matthews

schroedinger: use CLOCK_FREQ

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7cf4c51cbef6d877713153f6f0e71abf6054991
---

 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;
 



More information about the vlc-commits mailing list