#ifndef _cffmpeg_stream_hpp_ #define _cffmpeg_stream_hpp_ #include #include #include namespace ffwrapper{ class CodedData; } namespace cffmpeg_wrap{ class stream { private: std::list > list_avpkt_; std::mutex mutex_avpkt_; const int max_size_; public: explicit stream(const int maxSize); ~stream(); int SetPacket(std::shared_ptr data); void GetPacket(unsigned char **pktData, int *size, int *key); }; } #endif