- for(Track *current_track = edl->tracks->first;
- current_track;
- current_track = current_track->next)
- {
- if(is_playable(current_track, current_position, direction, use_nudge))
- {
-// printf("PlayableTracks::PlayableTracks %d this=%p current_track=%p total=%d current_position=%jd\n",
-// __LINE__,
-// this,
-// current_track,
-// total,
-// current_position);
- append(current_track);
- }
+ for( Track *track=edl->tracks->first; track; track=track->next ) {
+ if( is_playable(track, current_position, direction, use_nudge) )
+ append(track);