| 572 | } |
| 573 | |
| 574 | int |
| 575 | TrackMarker::getPreviousKeyframe(int time) const |
| 576 | { |
| 577 | QMutexLocker k(&_imp->trackMutex); |
| 578 | |
| 579 | for (std::set<int>::const_reverse_iterator it = _imp->userKeyframes.rbegin(); it != _imp->userKeyframes.rend(); ++it) { |
| 580 | if (*it < time) { |
| 581 | return *it; |
| 582 | } |
| 583 | } |
| 584 | |
| 585 | return std::numeric_limits<int>::min(); |
| 586 | } |
| 587 | |
| 588 | int |
| 589 | TrackMarker::getNextKeyframe( int time) const |
no outgoing calls
no test coverage detected