Skip to content

Adding new MaxDecodeSize functionality to ReaderBase (faster inspection / thumbnails)#1053

Merged
jonoomph merged 2 commits intodevelopfrom
optimize-preview
Apr 3, 2026
Merged

Adding new MaxDecodeSize functionality to ReaderBase (faster inspection / thumbnails)#1053
jonoomph merged 2 commits intodevelopfrom
optimize-preview

Conversation

@jonoomph
Copy link
Copy Markdown
Member

Adding new MaxDecodeSize functionality to ReaderBase, which allows FFmpegReader and QtImageReaders to inspect and thumbnail clips much faster, and no longer be forced to do that a full resolution. Also refactoring CreateReader() inside Clip() constructor, so it can be called outside of the constructor, for example, when needing to create a reader for inspection or thumbnailing in openshot-qt.

…mpegReader and QtImageReaders to inspect and thumbnail clips much faster, and no longer be forced to do that a full resolution. Also refactoring CreateReader() inside Clip() constructor, so it can be called outside of the constructor, for example, when needing to create a reader for inspection or thumbnailing in openshot-qt.
@jonoomph
Copy link
Copy Markdown
Member Author

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 97.02970% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.39%. Comparing base (51a2d7c) to head (6152b2a).
⚠️ Report is 3 commits behind head on develop.

Files with missing lines Patch % Lines
src/Clip.cpp 93.33% 1 Missing ⚠️
src/FFmpegReader.cpp 87.50% 1 Missing ⚠️
src/QtImageReader.cpp 87.50% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1053      +/-   ##
===========================================
+ Coverage    65.26%   65.39%   +0.12%     
===========================================
  Files          210      210              
  Lines        23801    23890      +89     
===========================================
+ Hits         15534    15623      +89     
  Misses        8267     8267              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jonoomph jonoomph merged commit d699b36 into develop Apr 3, 2026
13 checks passed
@jonoomph jonoomph deleted the optimize-preview branch April 3, 2026 01:09
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