[vlc-devel] [PATCH] ts: fix applying pcr offset in PCRCheckDTS()
Francois Cartegnie
fcvlcdev at free.fr
Sun Feb 28 20:56:35 CET 2016
Le 27/02/2016 21:50, Petri Hintukainen a écrit :
> Improve logging
> ---
> modules/demux/mpeg/ts.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
> - if ((i_dts > 0 && i_dts <= i_pcr) || (i_pts > 0 && i_pts <= i_pcr)) {
> + if( i_dts > 0 && i_dts <= i_pcr ) {
> msg_Err( p_demux, "send queued data for pid %d: DTS %"PRId64" >= PCR %"PRId64"\n", p_pid->i_pid, i_dts, i_pcr);
> ParsePESDataChain( p_demux, p_pid );
> + } else if( i_pts > 0 && i_pts <= i_pcr ) {
> + msg_Err( p_demux, "send queued data for pid %d: PTS %"PRId64" >= PCR %"PRId64"\n", p_pid->i_pid, i_pts, i_pcr);
> + ParsePESDataChain( p_demux, p_pid );
> }
> }
> }
>
Sorry, but It seems that logging was a debugging left-off.
Francois
More information about the vlc-devel
mailing list