| 316 | } |
| 317 | |
| 318 | void VideoCacheThread::handleUserSeek(int64_t playhead, int dir) |
| 319 | { |
| 320 | // Place last_cached_index just “behind” playhead in the given dir |
| 321 | last_cached_index.store(playhead - dir); |
| 322 | } |
| 323 | |
| 324 | void VideoCacheThread::handleUserSeekWithPreroll(int64_t playhead, |
| 325 | int dir, |