video analysis2.0拆分,ffmpeg封装go接口库
chenshijun
2019-12-03 a2d19baaa3996bc63edc042230074fb84a2433a1
csrc/worker/decoder.cpp
@@ -57,7 +57,6 @@
        std::lock_guard<std::mutex> l(mutex_pkt_);
        if (data->getAVPacket().flags & AV_PKT_FLAG_KEY){
            logIt("new list cpacket start, next %lld, cur %lld", next_idx_, pkt.id);
            list_pkt_.clear();
        }
        list_pkt_.push_back(pkt);
@@ -81,7 +80,6 @@
            for (auto &i : list_pkt_){
                if (i.id < next_idx_){
                    continue;
                    logIt("decoder same list cpacket");
                }
                *id = i.v_id;