| 527 | } |
| 528 | |
| 529 | int |
| 530 | TrackMarker::getNextKeyframe( int time) const |
| 531 | { |
| 532 | QMutexLocker k(&_imp->trackMutex); |
| 533 | |
| 534 | for (std::set<int>::const_iterator it = _imp->userKeyframes.begin(); it != _imp->userKeyframes.end(); ++it) { |
| 535 | if (*it > time) { |
| 536 | return *it; |
| 537 | } |
| 538 | } |
| 539 | |
| 540 | return INT_MAX; |
| 541 | } |
| 542 | |
| 543 | void |
| 544 | TrackMarker::getUserKeyframes(std::set<int>* keyframes) const |
no test coverage detected