[vlc-commits] schroedinger: use CLOCK_FREQ
Tristan Matthews
git at videolan.org
Wed Jul 2 21:17:28 CEST 2014
vlc/vlc-2.2 | branch: master | Tristan Matthews <le.businessman at 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 <fkuehne at 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;
More information about the vlc-commits
mailing list