Skip to content

stream.segmented: move init+discontinuity attrs#6709

Merged
bastimeyer merged 2 commits intostreamlink:masterfrom
bastimeyer:stream/segmented/segment-attrs
Nov 5, 2025
Merged

stream.segmented: move init+discontinuity attrs#6709
bastimeyer merged 2 commits intostreamlink:masterfrom
bastimeyer:stream/segmented/segment-attrs

Conversation

@bastimeyer
Copy link
Copy Markdown
Member

Move the init and discontinuity attributes from DASHSegment/HLSSegment to the Segment base class in preparation for upcoming initialization segment changes that will live in the SegmentedStreamWorker base class. Also remove content from DASHSegment, as it'll be unneeded.

And remove `content` attr from `DASHSegment`:
Upcoming changes will only set the `init` attr for explicit
init segments and not also for segments that include init sections.
@bastimeyer bastimeyer merged commit 0b74ea3 into streamlink:master Nov 5, 2025
25 checks passed
@bastimeyer bastimeyer deleted the stream/segmented/segment-attrs branch November 5, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant