[vlc-commits] packetizer: hevc: sync on IRAP
Francois Cartegnie
git at videolan.org
Wed Jan 17 16:13:12 CET 2018
vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 16 16:56:17 2018 +0100| [cc3116b8668d58fa7f5fd1c48a937e2f501834db] | committer: Jean-Baptiste Kempf
packetizer: hevc: sync on IRAP
(cherry picked from commit 68fa58bca95a5ef24b233e88b02fbed07e0af0aa)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=cc3116b8668d58fa7f5fd1c48a937e2f501834db
---
modules/packetizer/hevc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index 83c782a856..6f7c4b945b 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -629,13 +629,13 @@ static block_t * ParseAUHead(decoder_t *p_dec, uint8_t i_nal_type, block_t *p_na
block_t *p_ret = NULL;
if(p_sys->post.p_chain || p_sys->frame.p_chain)
- p_ret = OutputQueues(p_sys, true);
+ p_ret = OutputQueues(p_sys, p_sys->b_init_sequence_complete);
switch(i_nal_type)
{
case HEVC_NAL_AUD:
if(!p_ret && p_sys->pre.p_chain)
- p_ret = OutputQueues(p_sys, true);
+ p_ret = OutputQueues(p_sys, p_sys->b_init_sequence_complete);
break;
case HEVC_NAL_VPS:
@@ -673,7 +673,7 @@ static block_t * ParseAUTail(decoder_t *p_dec, uint8_t i_nal_type, block_t *p_na
{
case HEVC_NAL_EOS:
case HEVC_NAL_EOB:
- p_ret = OutputQueues(p_sys, true);
+ p_ret = OutputQueues(p_sys, p_sys->b_init_sequence_complete);
if( p_ret )
p_ret->i_flags |= BLOCK_FLAG_END_OF_SEQUENCE;
break;
More information about the vlc-commits
mailing list