memory: try caching frameptrs instead of avframes so we have more control
This commit is contained in:
+4
-2
@@ -70,8 +70,8 @@ public:
|
||||
const rational& timestamp() const;
|
||||
void set_timestamp(const rational& timestamp);
|
||||
|
||||
/*const int64_t& native_timestamp();
|
||||
void set_native_timestamp(const int64_t& timestamp);*/
|
||||
const int64_t& native_timestamp();
|
||||
void set_native_timestamp(const int64_t& timestamp);
|
||||
|
||||
/**
|
||||
* @brief Get frame's format
|
||||
@@ -141,6 +141,8 @@ private:
|
||||
|
||||
rational timestamp_;
|
||||
|
||||
int64_t native_timestamp_;
|
||||
|
||||
rational sample_aspect_ratio_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user