From 9792631e9d038ac34e287323961b78cc3d470873 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 24 九月 2019 17:18:11 +0800 Subject: [PATCH] bug fix --- csrc/worker/decoder.hpp | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) diff --git a/csrc/worker/decoder.hpp b/csrc/worker/decoder.hpp index 3bb3a18..ae9fba2 100644 --- a/csrc/worker/decoder.hpp +++ b/csrc/worker/decoder.hpp @@ -9,15 +9,13 @@ #include <atomic> #include <condition_variable> -#include "../common.hpp" - struct AVFrame; namespace ffwrapper { class FormatIn; class cvbridge; - + class CodedData; } // namespace ffwrapper namespace cffmpeg_wrap @@ -41,12 +39,6 @@ std::list<BGR24> list_pic_; std::mutex mutex_pic_; - std::unique_ptr<std::thread> thread_; - std::atomic_bool stop_; - - std::list<CPacket> list_pkt_; - std::mutex mutex_pkt_; - std::condition_variable cv_; private: int initDecoder(); int saveFrame(AVFrame *frame, int64_t &id); -- Gitblit v1.8.0