[FFmpeg-devel] [PATCH] avdevice/lavfi: fix crash on unconnected outpads

2023-06-01 Thread metamuffin
Nameless outpads would cause an invocation to sscanf with NULL. Example: ffmpeg -f lavfi -i 'nullsrc;nullsrc' - Changed to throwing an error instead. --- libavdevice/lavfi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index

[FFmpeg-devel] [PATCH] avdevice/lavfi: update documentation

2023-05-07 Thread metamuffin
lavfi not only supports video but also audio by now. --- doc/indevs.texi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index 8a198c4b44..863536a34d 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -991,9 +991,8 @@ This input device

[FFmpeg-devel] [PATCH] avdevice/lavfi: fix crash on unconnected outpads

2023-05-07 Thread metamuffin
Nameless outpads would cause an invocation to sscanf with NULL. Example: ffmpeg -f lavfi -i 'nullsrc;nullsrc' - Changed to throwing an error instead. --- libavdevice/lavfi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index

Re: [FFmpeg-devel] [PATCH] avdevice/pipewire_dec: pipewire video capture

2023-04-24 Thread metamuffin
output as well in the near future. Should I first accumulate all commits or submit the working parts gradually? I am also not sure, whether or not pipewire support is even wanted in ffmpeg. ~metamuffin OpenPGP_0x68103D823028DBC0.asc Description: OpenPGP public key OpenPGP_signature Descr

[FFmpeg-devel] [PATCH] avdevice/pipewire_dec: pipewire video capture

2023-04-23 Thread metamuffin
Added a minimal (and partial) input device for pipewire. The implementation lacks audio support for now since alsa and pulse can do that too Video output is not included yet. The patch requires _XOPEN_SOURCE=700 to work. Signed-off-by: metamuffin --- Changelog | 1