vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Feb 28 14:29:27 2019 +0100| [880e738f6032b0a93c72180f0a7eb1e456df2077] | committer: Francois Cartegnie
demux: ts: tag AU_END on low_delay > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=880e738f6032b0a93c72180f0a7eb1e456df2077 --- modules/demux/mpeg/ts.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c index 0b83222fb1..1f9d9d4fac 100644 --- a/modules/demux/mpeg/ts.c +++ b/modules/demux/mpeg/ts.c @@ -1400,12 +1400,16 @@ static block_t * ConvertPESBlock( demux_t *p_demux, ts_es_t *p_es, ****************************************************************************/ static void SendDataChain( demux_t *p_demux, ts_es_t *p_es, block_t *p_chain ) { + bool b_lowdelay = var_InheritBool(p_demux, "low-delay"); while( p_chain ) { block_t *p_block = p_chain; p_chain = p_block->p_next; p_block->p_next = NULL; + if( b_lowdelay ) + p_block->i_flags |= BLOCK_FLAG_AU_END; + ts_es_t *p_es_send = p_es; if( p_es_send->i_next_block_flags ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
