csrc/buz/recorder.hpp
@@ -13,21 +13,17 @@ #include "../common/callback.hpp" #include "../common.hpp" struct AVPacket; namespace ffwrapper{ class FormatIn; class FormatOut; class CodedData; } namespace cffmpeg_wrap{ namespace buz{ // 缓存的视频帧,等待fire触发开始录像 typedef struct _cache_pkt{ std::shared_ptr<ffwrapper::CodedData> data; int64_t id; }CPacket; class Recorder{ public: