Skip to content

Handle probe errors and missing audio streams in AnalyzeEBUR128Activity - #504

Merged
KillerX merged 2 commits into
fix/20-errcheckfrom
fix/normalize-probe-panic
Aug 24, 2026
Merged

Handle probe errors and missing audio streams in AnalyzeEBUR128Activity#504
KillerX merged 2 commits into
fix/20-errcheckfrom
fix/normalize-probe-panic

Conversation

@KillerX

@KillerX KillerX commented Aug 24, 2026

Copy link
Copy Markdown
Member

Stacked on #502.

AnalyzeEBUR128Activity ignored the ffmpeg.GetStreamInfo error and dereferenced probe.AudioStreams[0], so a probe failure or a file without audio streams panicked the activity. It now returns the probe error, and skips normalization (zero suggested adjustment) with a warning when the file has no audio streams.

Also drops the fixed item from potential_improvements.md.

🤖 Generated with Claude Code

KillerX and others added 2 commits August 24, 2026 11:55
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@KillerX
KillerX merged commit 2ad8ac2 into master Aug 24, 2026
2 checks passed
@KillerX
KillerX deleted the fix/normalize-probe-panic branch August 24, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant