make optimizations on rendering frame rate control and av sync control