selectStreams
The first call opens the reader. A later one, between reads, changes which streams it delivers without moving it, which is how the demux lane adds a stream that appeared after the open; the packets of it that FFmpeg read before then come first on the next read (#509).