From 35692b9fbade5b5f42a7f9ce91768c6113c38111 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Tue, 18 Aug 2020 02:08:22 +1000 Subject: [PATCH] frame: removed native timestamp member Wasn't used anymore. --- app/codec/frame.cpp | 10 ---------- app/codec/frame.h | 5 ----- 2 files changed, 15 deletions(-) diff --git a/app/codec/frame.cpp b/app/codec/frame.cpp index 4ca93f42b..16ebed087 100644 --- a/app/codec/frame.cpp +++ b/app/codec/frame.cpp @@ -115,16 +115,6 @@ void Frame::set_timestamp(const rational ×tamp) timestamp_ = timestamp; } -const int64_t &Frame::native_timestamp() -{ - return native_timestamp_; -} - -void Frame::set_native_timestamp(const int64_t ×tamp) -{ - native_timestamp_ = timestamp; -} - char *Frame::data() { return data_.data(); diff --git a/app/codec/frame.h b/app/codec/frame.h index 7f49948a8..7618ad622 100644 --- a/app/codec/frame.h +++ b/app/codec/frame.h @@ -65,9 +65,6 @@ public: const rational& timestamp() const; void set_timestamp(const rational& timestamp); - const int64_t& native_timestamp(); - void set_native_timestamp(const int64_t& timestamp); - /** * @brief Get the data buffer of this frame */ @@ -111,8 +108,6 @@ private: rational timestamp_; - int64_t native_timestamp_; - int linesize_; };