The other fragmentation options (frag_duration, frag_size and
frag_keyframe) are combined with OR, cutting fragments at the
first of the conditions being fulfilled.
Signed-off-by: Martin Storsjö <martin@martin.st>
{"iods_video_profile","iods video profile atom.",offsetof(MOVMuxContext,iods_video_profile),AV_OPT_TYPE_INT,{.dbl=-1},-1,255,AV_OPT_FLAG_ENCODING_PARAM},
{"frag_duration","Maximum fragment duration",offsetof(MOVMuxContext,max_fragment_duration),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"min_frag_duration","Minimum fragment duration",offsetof(MOVMuxContext,min_fragment_duration),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"frag_size","Maximum fragment size",offsetof(MOVMuxContext,max_fragment_size),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{"ism_lookahead","Number of lookahead entries for ISM files",offsetof(MOVMuxContext,ism_lookahead),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},
{NULL},
@ -2831,21 +2832,25 @@ static int mov_write_packet_internal(AVFormatContext *s, AVPacket *pkt)