[vlc-commits] schroedinger: use CLOCK_FREQ

2014-07-02 Thread Tristan Matthews
vlc/vlc-2.2 | branch: master | Tristan Matthews  | 
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 

> 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(100)
+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


[vlc-commits] schroedinger: use CLOCK_FREQ

2014-06-30 Thread Tristan Matthews
vlc | branch: master | Tristan Matthews  | 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(100)
+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