{"rtphint","Add RTP hint tracks",0,AV_OPT_TYPE_CONST,{.dbl=FF_MOV_FLAG_RTP_HINT},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"moov_size","maximum moov size so it can be placed at the begin",offsetof(MOVMuxContext,reserved_moov_size),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,0},
{"frag_size","maximum fragment size",offsetof(MOVMuxContext,max_fragment_size),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,0},
{"frag_duration","maximum fragment duration",offsetof(MOVMuxContext,max_fragment_duration),AV_OPT_TYPE_INT,{.dbl=0},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,0},
FF_RTP_FLAG_OPTS(MOVMuxContext,rtp_flags),
{NULL},
...
...
@@ -2182,6 +2183,7 @@ static int flush_cluster_buffer(AVFormatContext *s){
}
updateSize(s->pb,mov->mdat_pos);
}
mov->mdat_size=0;
for(i=0;i<mov->nb_streams;i++){
MOVTrack*track=&mov->tracks[i];
track->cluster_write_index=track->entry;
...
...
@@ -2205,7 +2207,9 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)