[vlc-commits] demux: ogg: set pcr before sending
Francois Cartegnie
git at videolan.org
Thu May 31 18:47:48 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 23 14:25:45 2018 +0200| [b7dcd76cd960800d801552ccb34d569f9eec1674] | committer: Francois Cartegnie
demux: ogg: set pcr before sending
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b7dcd76cd960800d801552ccb34d569f9eec1674
---
modules/demux/ogg.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 63bcf17d78..7198305ba2 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1186,7 +1186,6 @@ static void Ogg_SendOrQueueBlocks( demux_t *p_demux, logical_stream_t *p_stream,
DemuxDebug( msg_Dbg( p_demux, "block sent from preparse > dts %"PRId64" pts %"PRId64" spcr %"PRId64" pcr %"PRId64,
tosend->i_dts, tosend->i_pts, p_stream->i_pcr, p_ogg->i_pcr ); )
- es_out_Send( p_demux->out, p_stream->p_es, tosend );
if ( p_ogg->i_pcr == VLC_TS_INVALID && i_firstpts != VLC_TS_INVALID )
{
@@ -1194,6 +1193,8 @@ static void Ogg_SendOrQueueBlocks( demux_t *p_demux, logical_stream_t *p_stream,
if( likely( !p_ogg->b_slave ) )
es_out_SetPCR( p_demux->out, p_ogg->i_pcr );
}
+
+ es_out_Send( p_demux->out, p_stream->p_es, tosend );
}
p_stream->p_preparse_block = NULL;
}
More information about the vlc-commits
mailing list