resolve pthread_cond_init
add opengl temp
Merge branch 'avsychronize'