disable gop cache when not h.264. fix some warning.