public static List<long[]> getSyncSamplesTimestamps(Movie movie, Track track) {
        List<long[]> times = new LinkedList<long[]>();
        for (Track currentTrack : movie.getTracks()) {
            if (currentTrack.getHandler().equals(track.getHandler())) {
                long[] currentTrackSyncSamples = currentTrack.getSyncSamples();
                if (currentTrackSyncSamples != null && currentTrackSyncSamples.length > 0) {
                    final long[] currentTrackTimes = getTimes(currentTrack, movie);
                    times.add(currentTrackTimes);
                }
            }
        }
        return times;
    }
public static List < long [ ] > getSyncSamplesTimestamps ( Movie movie , Track track ) { List < long [ ] > times = new LinkedList < long [ ] > ( ) ; for ( Track currentTrack : movie . getTracks ( ) ) { if ( currentTrack . getHandler ( ) . equals ( track . getHandler ( ) ) ) { long [ ] currentTrackSyncSamples = currentTrack . getSyncSamples ( ) ; if ( currentTrackSyncSamples != null && currentTrackSyncSamples . length > 0 ) { final long [ ] currentTrackTimes = getTimes ( currentTrack , movie ) ; times . add ( currentTrackTimes ) ; } } } return times ; }
Calculates the timestamp of all tracks' sync samples.

@param movie <code>track</code> is located in this movie
@param track get this track's samples timestamps
@return a list of timestamps