In lavfi_read_header(), use the pad index designated in the inout for linking an output to a sink, rather than always 0. Fix link creation for filters with more than one output (e.g. the split filter).
This input device is to be considered still experimental, only video output is supported.