[vlc-commits] demux: pva: only VLC_TICK_INVALID is an invalid PCR
Steve Lhomme
git at videolan.org
Wed Sep 19 13:23:56 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at 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;
More information about the vlc-commits
mailing list