Skip to content

Revert "feat(seek): asynchronous seek with cached preview" - #79

Merged
blocksmith314 merged 1 commit into
mainfrom
revert/async-seek
Nov 26, 2026
Merged

blocksmith314 merged 1 commit into
mainfrom
revert/async-seek

Conversation

@blocksmith314

Copy link
Copy Markdown
Owner

Summary

Reverts #78 (asynchronous seek with cached preview).

The async path made clicks feel slower: the preview only exists when a cached/keyframe frame is available, the frame label does not update until the exact frame arrives, and the first large/backward seek still builds the full frame index before any preview. With the GUI no longer frozen, this reads as "nothing happens", which is more confusing than the previous blocking behaviour.

This restores the synchronous seek path while keeping the DecoderService worker-thread foundation from #77.

Reverted

  • DecoderService::RequestSeek / PreviewReady / FrameReady / generation handling
  • Service-owned FrameCache and FrameCache::Nearest()
  • Async GUI seek flow (ShowFrameAt enqueuing, OnSeekFrameReady)
  • Test changes that wait with QTRY_*

Verification

  • ctest: 75/75 pass.
  • grep RequestSeek: no references left.
  • CI: Linux/macOS/Windows.

Refs #70

…preview"

This reverts commit 179dbf7, reversing
changes made to f614e37.
@blocksmith314
blocksmith314 merged commit afcd7ae into main Nov 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant