update codec based on latest codec in master branch, for v1.1, there is bug for RecYUV output, date--20140815