Remove the dependency on libcec by accessing the VideoCore CEC functions directly.  Code taken from the RPi port of Showtime - thanks to Andreas Öman.
Ensure avplay fields are properly initialised