v4l set input first time fix
cleanup
code cleanup and version diff fix