flushInput

expect fun flushInput(index: Int, onOutput: (Frame) -> Unit)

Signal EOF on input index and drain whatever the graph can produce. Filters like overlay emit their final frames only once every input is flushed. Flush every input, in any order. The last call delivers the remaining frames.

actual fun flushInput(index: Int, onOutput: (Frame) -> Unit)

Signal EOF on input index and drain whatever the graph can produce. Filters like overlay emit their final frames only once every input is flushed. Flush every input, in any order. The last call delivers the remaining frames.

actual fun flushInput(index: Int, onOutput: (Frame) -> Unit)

Signal EOF on input index and drain whatever the graph can produce. Filters like overlay emit their final frames only once every input is flushed. Flush every input, in any order. The last call delivers the remaining frames.

actual fun flushInput(index: Int, onOutput: (Frame) -> Unit)

Signal EOF on input index and drain whatever the graph can produce. Filters like overlay emit their final frames only once every input is flushed. Flush every input, in any order. The last call delivers the remaining frames.