pw-play segfaults on invalid media format
- PipeWire version (
pipewire --version
): 0.3.56 and 0532d194 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): ArchLinux - Desktop Environment: sway
- Kernel version (
uname -r
): 5.19.1-arch2-1
Description of Problem:
When trying use pw-play with a video file it segfaults.
How Reproducible:
Always.
Steps to Reproduce:
pw-play /tmp/video.mp4
Actual Results:
sndfile: failed to open audio file "/tmp/video.mp4": Format not recognised.
error: open failed: Input/output error
'!impl->polling' failed at ../pipewire/spa/plugins/support/loop.c:871 impl_clear()
[1] 232750 IOT instruction (core dumped) pw-play /tmp/video.mp4
Expected Results:
sndfile: failed to open audio file "/tmp/video.mp4": Format not recognised.
error: open failed: Input/output error