Repository navigation
Revert "feat(seek): asynchronous seek with cached preview" - #79
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
DecoderServiceworker-thread foundation from #77.Reverted
DecoderService::RequestSeek/PreviewReady/FrameReady/ generation handlingFrameCacheandFrameCache::Nearest()ShowFrameAtenqueuing,OnSeekFrameReady)QTRY_*Verification
ctest: 75/75 pass.grep RequestSeek: no references left.Refs #70