vlc | branch: master | Steve Lhomme <rob...@ycbcr.xyz> | Fri Jun 1 11:39:14 2018 +0200| [645428d81725b2e4c2d8b29eaf2a784e9f86d8bd] | committer: Steve Lhomme
demux: pva: only VLC_TICK_INVALID is an invalid PCR > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=645428d81725b2e4c2d8b29eaf2a784e9f86d8bd --- modules/demux/pva.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/pva.c b/modules/demux/pva.c index 4312a06450..e796c0181d 100644 --- a/modules/demux/pva.c +++ b/modules/demux/pva.c @@ -449,7 +449,7 @@ static void ParsePES( demux_t *p_demux ) p_pes->i_pts = FROM_SCALE(i_pts); /* Set PCR */ - if( p_pes->i_pts > 0 ) + if( p_pes->i_pts != VLC_TICK_INVALID ) { es_out_SetPCR( p_demux->out, p_pes->i_pts); p_sys->b_pcr_audio = true; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits