[vlc-commits] TS mux: repeat headers on h265 keyframes

Rafaël Carré git at videolan.org
Thu Apr 17 15:47:07 CEST 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Apr 17 09:52:49 2014 +0200| [caed1d91d6840c67ea53bced87d9c3c4a17216ab] | committer: Rafaël Carré

TS mux: repeat headers on h265 keyframes

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

 modules/mux/mpeg/pes.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/mux/mpeg/pes.c b/modules/mux/mpeg/pes.c
index 045096b..9210b3f 100644
--- a/modules/mux/mpeg/pes.c
+++ b/modules/mux/mpeg/pes.c
@@ -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,



More information about the vlc-commits mailing list