From: Laurent Aimar Date: Tue, 5 Jun 2007 22:11:32 +0000 (+0000) Subject: Fixed audio RTP stream only (Not sure it is the right way) X-Git-Tag: 0.9.0-test0~7137 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ce29304981513f3e72d4fcfac9cae237313d08fd;p=vlc Fixed audio RTP stream only (Not sure it is the right way) Less verbose. --- diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index 2295297791..41059191de 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -1328,7 +1328,7 @@ static void StreamRead( void *p_private, unsigned int i_size, demux_sys_t *p_sys = p_demux->p_sys; block_t *p_block; - msg_Dbg( p_demux, "pts: %d", pts.tv_sec ); + //msg_Dbg( p_demux, "pts: %d", pts.tv_sec ); int64_t i_pts = (uint64_t)pts.tv_sec * UI64C(1000000) + (uint64_t)pts.tv_usec; @@ -1482,13 +1482,13 @@ static void StreamRead( void *p_private, unsigned int i_size, { p_sys->i_npt += __MAX( 0, i_pts - p_sys->i_pcr ); p_sys->i_pcr = i_pts; - msg_Dbg( p_demux, "npt update" ); + //msg_Dbg( p_demux, "npt update" ); } - else if( (tk->fmt.i_cat == VIDEO_ES) && (p_sys->i_pcr < i_pts) ) + else if( /*tk->fmt.i_cat == VIDEO_ES &&*/ p_sys->i_pcr < i_pts ) { p_sys->i_pcr = i_pts; } - msg_Dbg( p_demux, "npt %lld", p_sys->i_npt ); + //msg_Dbg( p_demux, "npt %lld", p_sys->i_npt ); if( (i_pts != tk->i_pts) && (!tk->b_muxed) ) {