| 586 | } |
| 587 | |
| 588 | int |
| 589 | TrackMarker::getNextKeyframe( int time) const |
| 590 | { |
| 591 | QMutexLocker k(&_imp->trackMutex); |
| 592 | |
| 593 | for (std::set<int>::const_iterator it = _imp->userKeyframes.begin(); it != _imp->userKeyframes.end(); ++it) { |
| 594 | if (*it > time) { |
| 595 | return *it; |
| 596 | } |
| 597 | } |
| 598 | |
| 599 | return std::numeric_limits<int>::max(); |
| 600 | } |
| 601 | |
| 602 | void |
| 603 | TrackMarker::getUserKeyframes(std::set<int>* keyframes) const |
no test coverage detected