From 8769ea83a9cb107d53594706c6b847fa75203286 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Sat, 16 Oct 2021 16:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=ADhls?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD=E6=97=B6=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Record/TsMuxer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Record/TsMuxer.h b/src/Record/TsMuxer.h index 7e0b9e7f..39380e39 100644 --- a/src/Record/TsMuxer.h +++ b/src/Record/TsMuxer.h @@ -85,9 +85,9 @@ class TsMuxer : public MediaSinkInterface { public: TsMuxer() {} ~TsMuxer() override {} - void addTrack(const Track::Ptr &track) override {} + bool addTrack(const Track::Ptr &track) override { return false; } void resetTracks() override {} - void inputFrame(const Frame::Ptr &frame) override {} + bool inputFrame(const Frame::Ptr &frame) override { return false; } protected: virtual void onTs(std::shared_ptr buffer, uint32_t timestamp,bool is_idr_fast_packet) = 0;