enh(ui): SVideo does not prevent empty image display
Description
When providing an empty image (size (0,0,0) ) to a SVideo service, the service does not filter, and forward it to the textureManager which tests it and generates an error in particular in debug mode (ASSERT).
However empty image are often used as default ones, and this leads to various diffibulties.
Proposal
Add a test in SVideo to prevent updating when image size is 0.
Functional specifications
There should not be any error when running a SVideo update with an empty image.
Technical specifications
add a if(size[0] == 0 || size[1] == 0) test on the SVideo updating and return when it fails.
Test plan
There is presently no ut on SVideo.
To test this start a SVideo adaptor with an uninitialized , and call the update slot. This can be done with a classical at the end of your configuration.