Fails in release mode on both the example and my own code. The problem is that it goes through them all, then after posterize, it's locked... Up to that point, it list the modes properly... mono, negative, solarize, sepia, posterize and then the next click, it locks... doing it now with the release example. Then, after a while, it pops up the following message:
An error has occurred in sub: java.lang.RuntimeException: startPreview failed. Continue Y/N
If I click yes, it hangs for a while and displays the same message... No takes me out of the example completely. Up to that point, and if I don't use the effects, the camera's working fine... And if I cycle through the effects, they show show the physical effects properly on the screen, until after that posterize effect, when it freezes for a time before the message pops up.
Is there a way I can force it to jump at the end of the cycle and skip if it fails?