umlaeute/v4l2loopback — pull request #12 by an146 (2012-02-15 09:38:17+00:00)
Title: feature: idle frame generation when no input

Hi, I've implemented the subj functionality (repeating last received frame or sending a placeholder picture when writer process dies/doesn't send frames in time, more explanation in README).
It has involved some changes in existing code; what worries me is read()/write() implementations, I have changed them appropriately (they _might_ work), but haven't found a way to test them yet; all testing was done with gstreamer's v4l2src/sink using q/dqbuf(). Can you provide me with a hint on how to do it using some existing software?
Anyway, I'll continue playing with it, and probably there are more changes to come, so any your thoughts on code/cooperation will be helpful