removed opengles code in local video mode