Skip to content

Disable most filters for smoke builds#2306

Merged
WyattBlue merged 2 commits into
mainfrom
patch
Jun 14, 2026
Merged

Disable most filters for smoke builds#2306
WyattBlue merged 2 commits into
mainfrom
patch

Conversation

@WyattBlue

Copy link
Copy Markdown
Member

No description provided.

test_streams.py::test_loudnorm calls av.filter.loudnorm, so add loudnorm
to the trimmed smoke-build filter list; without it the filter lookup
returned NULL.

That NULL also exposed a crash: loudnorm_get_stats() built an
abuffer -> loudnorm -> abuffersink graph but ignored every return code,
so a NULL loudnorm context was passed to avfilter_link() and segfaulted
the interpreter. Bail out early if a required filter is missing, check
the create_filter/link/graph_config return codes so a NULL context can
never be linked, free the graph on the error path, and skip the 5s JSON
wait when no graph ran. On failure the function returns NULL, which the
Python wrapper already turns into a RuntimeError.
@WyattBlue WyattBlue merged commit baebfed into main Jun 14, 2026
7 checks passed
@WyattBlue WyattBlue deleted the patch branch June 14, 2026 04:02
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