I am working on I.MX6 sabre board Quad now with a demo to display picture in picture with 2 camera inputs.
The demo is working and I even can swap the foreground and the background video on the fly.
But the foreground window is always transparent no matter which video input is from.
I used global alpha to make one video output to be opaque. But in this way, the other video output window is hidden when this one becomes the background.
Is there a way that I can change global alpha or turn off/on it on the fly?
The demo that I want to do is picture in picture, the foreground one is opaque, and swap the foreground and the background video on the fly.