Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert cache-busting-on-seek Experiment #610

Merged
merged 1 commit into from Jan 1, 2021
Merged

Conversation

jonoomph
Copy link
Member

@jonoomph jonoomph commented Jan 1, 2021

Reverting 'clear the cache when the user seeks' experiment. It was a failed experiment, not to mention that it destroys performance on the "Transform" tool. In theory, I was worried about boundaries between seek blocks. But I think having some inconsistent moments between blocks of separately decoded frames is okay during a real-time preview scenario. When final render is happening, we don't seek randomly around, and so this is not a problem.

…failed experiement, not to mention that it destroys performance on the "Transform" tool.
@codecov
Copy link

codecov bot commented Jan 1, 2021

Codecov Report

Merging #610 (f5d6ee2) into develop (2699e7d) will increase coverage by 0.43%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #610      +/-   ##
===========================================
+ Coverage    52.31%   52.74%   +0.43%     
===========================================
  Files          129      129              
  Lines        10783    11073     +290     
===========================================
+ Hits          5641     5841     +200     
- Misses        5142     5232      +90     
Impacted Files Coverage Δ
src/Timeline.cpp 43.59% <ø> (-1.82%) ⬇️
src/DummyReader.h 0.00% <0.00%> (-33.34%) ⬇️
src/FFmpegUtilities.h 85.71% <0.00%> (-14.29%) ⬇️
src/Clip.h 75.00% <0.00%> (-8.34%) ⬇️
src/FrameMapper.cpp 91.16% <0.00%> (-0.26%) ⬇️
src/FFmpegReader.cpp 70.18% <0.00%> (+0.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2699e7d...f5d6ee2. Read the comment docs.

@jonoomph jonoomph merged commit e0daa0b into develop Jan 1, 2021
@jonoomph jonoomph deleted the revert-caching-fix branch January 1, 2021 00:22
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.

None yet

1 participant