Yes. Well, the router is managed from i.MX which tells when to do the switching so I have full control of when a signal change occurs. The job for this application is to switch through up to 16 video sources one at a time and grab an image from each for monitoring through the web interface. Switching should occur as fast as possible to minimize the delay between update of each of the individual sources.
I have now done a small change by adding the VIDIOC_OVERLAY on/off ioctl before and after each switch, which works except from I get "mxc_ipu mxc_ipu: IPU Error - IPU_INT_STAT_5 = 0x00200000" after almost every second "on" call. This is an IDMAC_NFB4EOF_ERR_21 error (New Frame before end-of-frame error indication of Channel interrupt). This error does not make the IPU to freeze up which is a step in the right direction, but I have a feeling that there is better ways to do this to properly turn on/off the IPU processing. I have tried using VIDIOC_STREAMON/VIDIOC_STREAMOFF instead of VIDIOC_OVERLAY on/off ioctl, but just get a "Bad address" error and I assume it needs a different setup.