[vlc-commits] demux: ty: use the es_out_SetPCR() helper
Thomas Guillem
git at videolan.org
Thu Mar 11 10:14:03 UTC 2021
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Feb 10 11:38:45 2021 +0100| [151a8dee208db523baf808e7e59c858a0551b71c] | committer: Thomas Guillem
demux: ty: use the es_out_SetPCR() helper
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=151a8dee208db523baf808e7e59c858a0551b71c
---
modules/demux/ty.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/ty.c b/modules/demux/ty.c
index 7ea97f6eb2..dd19611125 100644
--- a/modules/demux/ty.c
+++ b/modules/demux/ty.c
@@ -995,8 +995,8 @@ static int DemuxRecAudio( demux_t *p_demux, ty_rec_hdr_t *rec_hdr, block_t *p_bl
/* set PCR before we send (if PTS found) */
if( p_block_in->i_pts != VLC_TICK_INVALID )
- es_out_Control( p_demux->out, ES_OUT_SET_PCR,
- p_block_in->i_pts );
+ es_out_SetPCR( p_demux->out, p_block_in->i_pts );
+
/* Send data */
es_out_Send( p_demux->out, p_sys->p_audio, p_block_in );
return 0;
More information about the vlc-commits
mailing list