1. add pthread_mutex_t to statistics, which caused serious synchronization
   problems between main thread and picture thread, video thread;
2. the problem must be solved as soon as possible!