9 int main(int ac, char **av)
11 int ret; setbuf(stdout,0);
14 //db.access(av[1], 34543, 0);
15 if( !db.opened() || db.error() ) exit(1);
17 TimelineLoc::rkey_Sequences key(db.timeline);
18 if( !(ret=key.First()) ) {
19 int clip_id = db.timeline.Clip_id();
21 while( !(ret=key.Next()) ) {
22 printf("(%d,%d,%d),",db.timeline.Clip_id(),db.timeline.Sequence_no(),db.timeline.Frame_id());
23 if( clip_id != (int)db.timeline.Clip_id() ) {
24 if( db.clip_set.FindId(clip_id) ) {
25 printf(" broken clip %d\n",clip_id); exit(1);
27 printf("clip %d has %d frames\n",clip_id,n);
29 clip_id = db.timeline.Clip_id();
33 if( db.clip_set.FindId(clip_id) ) {
34 printf(" broken last %d\n",clip_id); exit(1);
36 printf("last %d has %d frames\n",clip_id,n);