[vlc-commits] access: live555: tag AU_END on M-bit hint for HEVC/H264
Francois Cartegnie
git at videolan.org
Thu Mar 7 17:29:34 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Aug 28 23:53:02 2018 +0200| [058b80f2180d06fe9e280b2221a80d2c4dac4adc] | committer: Francois Cartegnie
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=058b80f2180d06fe9e280b2221a80d2c4dac4adc
---
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 )
More information about the vlc-commits
mailing list