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

[Win] WinRenderer::NeedBuffer: use loaded state instead HasPic() #12734

Merged
merged 1 commit into from
Aug 28, 2017
Merged

[Win] WinRenderer::NeedBuffer: use loaded state instead HasPic() #12734

merged 1 commit into from
Aug 28, 2017

Conversation

peak3d
Copy link
Contributor

@peak3d peak3d commented Aug 28, 2017

Description

[Win] WinRenderer::NeedBuffer: use loaded state instead HasPic() to increase resume after seek.

Motivation and Context

WinRendere has to store pastFrames for proper working.
After seek (wich does not flush renderbuffers) those past frames block insertion of new frames.
Using Image::loaded instead Image::HasPic counts past-frames only if they are loaded.

How Has This Been Tested?

Win10

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@peak3d peak3d merged commit 38b74fb into xbmc:master Aug 28, 2017
@peak3d peak3d deleted the loaded branch August 28, 2017 18:28
@Rechi Rechi added Type: Improvement non-breaking change which improves existing functionality Component: Video rendering v18 Leia Platform: Windows labels Aug 28, 2017
@Rechi Rechi added this to the L 18.0-alpha1 milestone Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Video rendering Platform: Windows Type: Improvement non-breaking change which improves existing functionality v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants