From 6f9d46539bce25828e3229db6cd9c0dbae1f3e11 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期日, 19 一月 2020 11:43:34 +0800 Subject: [PATCH] update ffmpeg --- csrc/worker/rec.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/csrc/worker/rec.cpp b/csrc/worker/rec.cpp index 9a306b2..b5bbd5a 100644 --- a/csrc/worker/rec.cpp +++ b/csrc/worker/rec.cpp @@ -22,7 +22,7 @@ { rec::rec() :recRef_(NULL) - ,min_cache_len_(cache_time * 25) // 鏈�灏忕紦瀛�?鍒嗛挓鐨勮棰�,鍥犱负鏁翠釜娴佺▼浼氭湁寤惰繜,鏆傚畾?鍒嗛挓 + ,min_cache_len_(cache_time * 25) {} rec::~rec() @@ -75,7 +75,7 @@ start_id = i.v_id; } } - }else if (recRef_->isVideoPkt(&i.data->getAVPacket())){ + }else { // 瑙嗛甯�,鐪嬫槸鍚︾紦瀛樹腑鏈夋墍鏈夌殑duration鏁版嵁 if (i.v_id - start_id == duration){ end = index; -- Gitblit v1.8.0