]> git.sesse.net Git - vlc/commitdiff
TS mux: repeat headers on h265 keyframes
authorRafaël Carré <funman@videolan.org>
Thu, 17 Apr 2014 07:52:49 +0000 (09:52 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 17 Apr 2014 13:16:30 +0000 (15:16 +0200)
modules/mux/mpeg/pes.c

index 045096bd0d4a1aa88c22bc675d22f26af73e0d88..9210b3f3ebd0d47850be4bc461062957ed512884 100644 (file)
@@ -344,7 +344,8 @@ int  EStoPES ( block_t **pp_pes, block_t *p_es,
     }
 
     if( ( p_fmt->i_codec == VLC_CODEC_MP4V ||
-          p_fmt->i_codec == VLC_CODEC_H264 ) &&
+          p_fmt->i_codec == VLC_CODEC_H264 ||
+          p_fmt->i_codec == VLC_CODEC_HEVC) &&
         p_es->i_flags & BLOCK_FLAG_TYPE_I )
     {
         /* For MPEG4 video, add VOL before I-frames,