Skip to content

Conversation

@ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Jan 14, 2020

At least on my 4-core, far from high-performance system, the effect this has on playback stuttering and smoothness is immense.

With a 32-frame cache, even with debug logging enabled the preview is largely smooth, at least when playing a Timeline with a single, unedited clip on it. With only 8 frames of buffer to work with, playback is jerky and stuttering even in that simple, best-case scenario.

@ferdnyc ferdnyc added the resources Issues involving consumption of memory, CPU, disk, etc. label Jan 14, 2020
@ferdnyc ferdnyc requested a review from jonoomph January 14, 2020 05:54
@codecov-io
Copy link

Codecov Report

Merging #416 into develop will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #416   +/-   ##
========================================
  Coverage    42.37%   42.37%           
========================================
  Files          129      129           
  Lines        13276    13276           
========================================
  Hits          5626     5626           
  Misses        7650     7650
Impacted Files Coverage Δ
src/Qt/VideoCacheThread.cpp 0% <0%> (ø) ⬆️

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 49972b2...3321042. Read the comment docs.

@jonoomph
Copy link
Member

jonoomph commented Feb 7, 2020

LGTM!

@jonoomph jonoomph merged commit 51cf330 into OpenShot:develop Feb 7, 2020
jonoomph added a commit that referenced this pull request Feb 7, 2020
… not see any crazy memory demands from this.
@ferdnyc ferdnyc deleted the preview-cache-size branch February 14, 2020 15:07
@ferdnyc ferdnyc removed the request for review from jonoomph February 14, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

resources Issues involving consumption of memory, CPU, disk, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants