Skip to content

Test improvements#1357

Merged
davidplowman merged 3 commits intoraspberrypi:nextfrom
davidplowman:test-improvements
Jan 27, 2026
Merged

Test improvements#1357
davidplowman merged 3 commits intoraspberrypi:nextfrom
davidplowman:test-improvements

Conversation

@davidplowman
Copy link
Collaborator

Improved some of the tests, had to tweak some other things to make the new examples work.

This will stop playback software from complaining so much.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Previously, the PyavOutput was informed about the expected streams (by
calling output._add_streams) when the encoder starts. But we also need
to do this if the output is attached to the encoder once it's already
running.

So we put those _add_streams calls into a new encoder.send_streams
method which we now call both when then encoder starts and when an
output is attached to a running encoder.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Tidy up or provide improved versions of some of the older examples.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
@davidplowman davidplowman merged commit 6674fe5 into raspberrypi:next Jan 27, 2026
5 checks passed
@davidplowman davidplowman deleted the test-improvements branch March 11, 2026 13:28
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