cache frames alongside the frame index

Decoder will now pre-render/decode frames in advance of needing
them
This commit is contained in:
itsmattkc
2019-11-17 12:29:53 +09:00
parent c6d5fbae8c
commit 60a27961c2
4 changed files with 257 additions and 191 deletions
+2 -2
View File
@@ -72,8 +72,8 @@ public:
const rational& timestamp();
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