[vlc-commits] demux: ts: use dts instead of pts for no-trust-pcr
Francois Cartegnie
git at videolan.org
Thu Dec 18 22:39:58 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 17 18:21:20 2014 +0100| [72a278f6c5eb209e713d82207c8d0727d44183c2] | committer: Francois Cartegnie
demux: ts: use dts instead of pts for no-trust-pcr
still wrong though, not stricty increasing with streams > 1 :/
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72a278f6c5eb209e713d82207c8d0727d44183c2
---
modules/demux/ts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index c99ee2d..14736b1 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -1916,9 +1916,9 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
block_Duplicate( p_block ) );
}
- if (!p_sys->b_trust_pcr && p_block->i_pts > VLC_TS_INVALID )
+ if (!p_sys->b_trust_pcr && p_block->i_dts > VLC_TS_INVALID )
es_out_Control( p_demux->out, ES_OUT_SET_GROUP_PCR,
- pid->i_owner_number, p_block->i_pts);
+ pid->i_owner_number, p_block->i_dts);
es_out_Send( p_demux->out, pid->es->id, p_block );
More information about the vlc-commits
mailing list