+Track* CWindow::calculate_mask_track()
+{
+ Track *track = mwindow->edl->tracks->first;
+ for( ; track; track=track->next ) {
+ if( track->data_type != TRACK_VIDEO ) continue;
+ if( track->record && track->get_id() == mask_track_id ) break;
+ }
+ return track;
+}
+
+