Skip to content

Conversation

CastagnaIT
Copy link
Collaborator

@CastagnaIT CastagnaIT commented Sep 17, 2025

Description

A couple of fixes after the refactor PR #1902

this should be also a final fix to issue #1645,
in my tests now if the audio stream segments cant be downloaded
the audio stream will be set as EOS and stop to feed kodi demuxer
this will cause that on playback the video can still be played but without audio (and without loud audio stuttering due to broken segments)

fix #1645

Motivation and context

How has this been tested?

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

Checklist:

  • I have read the Contributing document
  • My code follows the Code Guidelines of this project
  • My change requires a change to the Wiki documentation
  • I have updated the documentation accordingly

This prevent wrong buffer data accesses if demuxer try to read
…ken download

This restore previous behavior for subtitle case so if a single
segment fail to download continue with next segments
instead to stop the stream with EOS
@CastagnaIT CastagnaIT added Type: Fix non-breaking change which fixes an issue v22 Piers labels Sep 17, 2025
@CastagnaIT CastagnaIT merged commit 9105f21 into xbmc:Piers Sep 17, 2025
13 of 14 checks passed
@CastagnaIT CastagnaIT deleted the refactor_fixes branch September 17, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue v22 Piers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] audio buffer stuttering loop on stream underrun ("large audio sync error")
1 participant