添加Ptr定义

This commit is contained in:
ziyue 2021-06-29 17:42:32 +08:00
parent df377fc1f4
commit 66f28f52b4

View File

@ -460,6 +460,7 @@ private:
class FrameMerger { class FrameMerger {
public: public:
using onOutput = function<void(uint32_t dts, uint32_t pts, const Buffer::Ptr &buffer, bool have_idr)>; using onOutput = function<void(uint32_t dts, uint32_t pts, const Buffer::Ptr &buffer, bool have_idr)>;
using Ptr = std::shared_ptr<FrameMerger>;
enum { enum {
none = 0, none = 0,
h264_prefix, h264_prefix,