This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: How to Clean up waylandsink ?

Part Number: AM5728


Hi TI,

I am trying to implement a camera switching  feature without killing the waylandsink because otherwise the video streaming comes up to the top and covers our GUI.

I got the changing elements working and it can successfully switch camera for 50+ times and then killed by kernel. I know the right way to clean up an element is to set its state to NULL, I tried that on waylandsink but it also brought the video streaming to the top layer. It could do more than 50+ times switching though.

Is there any leaner way of cleaning up an element? Thank you in advance.

Boris