Updates example code.
Adds an API function to avoid testing for C420, C420jpeg and C420paldv.