From 058b80f2180d06fe9e280b2221a80d2c4dac4adc Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Tue, 28 Aug 2018 23:53:02 +0200 Subject: [PATCH] access: live555: tag AU_END on M-bit hint for HEVC/H264 Allows early process of the AU without waiting next block for sync code. --- modules/access/live555.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp index d72a8fbd96..364b638d0c 100644 --- a/modules/access/live555.cpp +++ b/modules/access/live555.cpp @@ -2077,6 +2077,8 @@ static void StreamRead( void *p_private, unsigned int i_size, p_block->p_buffer[2] = 0x00; p_block->p_buffer[3] = 0x01; memcpy( &p_block->p_buffer[4], tk->p_buffer, i_size ); + if( tk->sub->rtpSource()->curPacketMarkerBit() ) + p_block->i_flags |= BLOCK_FLAG_AU_END; } } else if( tk->format == live_track_t::ASF_STREAM )