csrc/wrapper.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
csrc/wrapper.cpp
@@ -338,7 +338,7 @@ list_avpkt_.pop_front(); } void Wrapper::cacheAVPacket(const AVPacket &pkt){ std::lock_guard<std::mutex> l(mutex_pic_); std::lock_guard<std::mutex> l(mutex_avpkt_); while(list_avpkt_.size() > 10){ // printf("cacheAVPacket drop packets!!!!!!!!!!\n"); for(int i = 0; i < 5; i++){