From b4d0307f8dfa8ae1d37e1eb7ed2b455eee7e7b4a Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sat, 5 May 2018 15:11:18 +0200 Subject: [PATCH] nsv: base the pcr delay on CLOCK_FREQ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- modules/demux/nsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/nsv.c b/modules/demux/nsv.c index 53e0bd5478..f07fb183db 100644 --- a/modules/demux/nsv.c +++ b/modules/demux/nsv.c @@ -258,7 +258,7 @@ static int Demux( demux_t *p_demux ) /* Skip the first part (it is the language name) */ p_frame->i_pts = VLC_TS_0 + p_sys->i_pcr; - p_frame->i_dts = VLC_TS_0 + p_sys->i_pcr + 4000000; /* 4s */ + p_frame->i_dts = VLC_TS_0 + p_sys->i_pcr + 4 * CLOCK_FREQ; if( p_sys->p_sub ) es_out_Send( p_demux->out, p_sys->p_sub, p_frame );