Commit caed1d91 authored by Rafaël Carré's avatar Rafaël Carré

TS mux: repeat headers on h265 keyframes

parent 864c19f1
...@@ -344,7 +344,8 @@ int EStoPES ( block_t **pp_pes, block_t *p_es, ...@@ -344,7 +344,8 @@ int EStoPES ( block_t **pp_pes, block_t *p_es,
} }
if( ( p_fmt->i_codec == VLC_CODEC_MP4V || 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 ) p_es->i_flags & BLOCK_FLAG_TYPE_I )
{ {
/* For MPEG4 video, add VOL before I-frames, /* For MPEG4 video, add VOL before I-frames,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment