diff --git a/src/Record/TsMuxer.h b/src/Record/TsMuxer.h index 46e4a4ae..be7d62da 100644 --- a/src/Record/TsMuxer.h +++ b/src/Record/TsMuxer.h @@ -90,7 +90,7 @@ public: void inputFrame(const Frame::Ptr &frame) override {} protected: - virtual void onTs(const void *packet, size_t bytes,uint32_t timestamp,bool is_idr_fast_packet) = 0; + virtual void onTs(std::shared_ptr buffer, uint32_t timestamp,bool is_idr_fast_packet) = 0; }; }//namespace mediakit