MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / handleUserSeek

Method handleUserSeek

src/Qt/VideoCacheThread.cpp:318–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected