9 int main(int ac, char **av)
14 //db.access(av[1], 34543, 0);
15 if( !db.opened() || db.error() ) exit(1);
17 unsigned int fid = atoi(av[2]);
18 if( TimelineLoc::ikey_Timelines(db.timeline, fid).Locate() ) {
19 printf(" find timeline frame_id(%u) failed\n", fid);
23 while( db.timeline.Frame_id()==fid ) {
24 int cid = db.timeline.Clip_id();
26 if( TimelineLoc::rkey_Timelines(db.timeline).Next() ) break;
31 if( !db.video_frame.FirstId() ) do {
32 unsigned int fid = db.video_frame.id();
34 if( TimelineLoc::ikey_Timelines(db.timeline, fid).Locate() ) {
35 printf(" find timeline frame_id(%u) failed\n", fid);
38 while( db.timeline.Frame_id()==fid ) {
39 int cid = db.timeline.Clip_id();
41 if( TimelineLoc::rkey_Timelines(db.timeline).Next() ) break;
44 } while( !db.video_frame.NextId() );