[vlc-commits] packetizer: hevc: enforce default to non I-Frame

Francois Cartegnie git at videolan.org
Thu Dec 24 01:45:17 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 24 01:40:27 2015 +0100| [42bcb6ac4642c9928652256b5e1aee658549aeb1] | committer: Francois Cartegnie

packetizer: hevc: enforce default to non I-Frame

If decode_slice fails, no flag is set and hevc
demux would skip that frame.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42bcb6ac4642c9928652256b5e1aee658549aeb1
---

 modules/packetizer/hevc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index 422a4e6..3403638 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -344,6 +344,7 @@ static block_t *ParseVCL(decoder_t *p_dec, uint8_t i_nal_type, block_t *p_frag)
                     }
                     hevc_rbsp_release_slice_header( p_sli );
                 }
+                else p_frag->i_flags |= BLOCK_FLAG_TYPE_B;
             }
             break;
         }



More information about the vlc-commits mailing list