I want to cature video on the OMX_VIDEO_CaptureHWPortVIP1_PORTA and OMX_VIDEO_CaptureHWPortVIP2_PORTA at the same time,
but with only one connecting to the DEI component and then display, while the other capture component is unconnected to any other component.
I want to change which capture port is connected to DEI during run time, but I am confused what need to be modified.
From my understanding,
1.. IL_ClientConnectComponents need to change to the new port
2. OMX_UseBuffer of DEI component need to change too because it is using the previous capture component's buffer, but do i need to call FreeBuffer first and call UseBuffer afterward? or how to do it?
3. Do it need to change the state of some component using OMX_CommandStateSet? If yes, which components and what states need to be set?
Is there anything else need to be modified too?
Please provide me some ideas, thanks.