• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Eyevinn / hls-m3u8
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: accept-trailing-scte35-daterange
DEFAULT BRANCH: main
Repo Added 04 Jan 2025 06:47PM UTC
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/encode-mutates-head
branch: fix/encode-mutates-head
CHANGE BRANCH
x
Reset
  • fix/encode-mutates-head
  • 41-keys-are-written-before-discontinuity
  • 43-weird-interaction-when-ext-x-cue-out-follows-ext-x-daterange
  • 46-ext-x-skip-implementation-seems-incorrect
  • 50-instream-id-for-all-media-types
  • accept-trailing-scte35-daterange
  • allow-cache-obsolete
  • byterange-offset
  • chore/fix-tests
  • chore/remove-goreportcard-badge
  • ci/node24-actions
  • content-steering
  • define-tag
  • docs-060
  • docs-draft-v19
  • docs-update
  • docs/changelog-pr80
  • docs/v0.6.1
  • docs/v0.6.3
  • docs/v0.6.4
  • draft-22
  • expanded-channels-support
  • feat-calc-min-ver
  • feat/support-low-latency
  • feat/write-precision
  • fix-65-get-all-segments
  • fix/duration-attribute-on-cue-out
  • fix/encode-ring-wraparound
  • gap-support
  • main
  • multi-SCTE35-DateRange
  • multiple-keys
  • no-regex
  • pooled-buffers
  • refactor-and-fix
  • release/v0.6.5
  • server-control
  • session-key
  • sessiondata
  • targetduration-int
  • test-dangling-daterange
  • update-changelog
  • update-go-125
  • update-tests
  • v0.2.0
  • v0.3.0
  • v0.4
  • v0.5.0-changelog
  • v0.5.2-docs
  • variant-params
  • ver0-6-2
  • verify-preload-interstitials

27 Jul 2026 02:34AM UTC coverage: 92.301% (-0.007%) from 92.308%
30232595495

Pull #90

github

nvkhoi112358
fix: Encode() must not mutate playlist head pointer

Encode() was mutating p.head (introduced in 882d0c5, PR #33),
making it destructive — a second Encode() call on the same
MediaPlaylist produced an empty playlist because the head pointer
had been shifted past all segments.

The local variable `start` already computes the correct starting
index for the output loop. Remove the p.head mutation to restore
idempotent Encode() behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #90: fix: Encode() must not mutate playlist head pointer

2242 of 2429 relevant lines covered (92.3%)

1.08 hits per line

Relevant lines Covered
Build:
Build:
2429 RELEVANT LINES 2242 COVERED LINES
1.08 HITS PER LINE
Source Files on fix/encode-mutates-head
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30232595495 fix/encode-mutates-head fix: Encode() must not mutate playlist head pointer Encode() was mutating p.head (introduced in 882d0c5, PR #33), making it destructive — a second Encode() call on the same MediaPlaylist produced an empty playlist because the head pointer had bee... Pull #90 27 Jul 2026 02:01PM UTC nvkhoi112358 github
92.3
See All Builds (168)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc