fallbacksrc switching to last buffer instead of fallback_sink pad before restart
Hi,
I am using the fallbacksrc plugin heavily in a scenario with 16 streams combined on a 4 x 4 mosaic.
-
Due to network issues which I cannot avoid the buffers are not received within the 40 milliseconds timeout and an immediate fallback occurs, however, the timeout of 5 seconds is not reached. I have some kind of 'no signal' message that occurs therefore quite often and is really annoying when watching the mosaic.
-
I would like to propose as an enhancement to allow during the timeout and before the scheduling of the restart happens to use instead of the fallback source the last buffer of the main source. This would show a freeze of the image but will continue once the buffer has been received. It's much more convenient.
-
Since I am not very familiar with Rust programming language may I ask you to add this feature or outline how you would implement it and I will try myself?
In any case I would like to express my thanks for providing such great plugin. It saved a lot of effort since I was thinking about a similar but far less sophisticated thing before I found you've already implemented it so nicely.
Kind regards, Markus