| 370 | } |
| 371 | |
| 372 | int64_t VideoCacheThread::clampToTimelineRange(int64_t frame, int64_t timeline_end) const |
| 373 | { |
| 374 | if (timeline_end < 1) { |
| 375 | return frame; |
| 376 | } |
| 377 | return std::clamp<int64_t>(frame, 1, timeline_end); |
| 378 | } |
| 379 | |
| 380 | bool VideoCacheThread::clearCacheIfPaused(int64_t playhead, |
| 381 | bool paused, |
nothing calls this directly
no outgoing calls
no test coverage detected