ffmpegdecoder: impose limit on memory frame cache

This commit is contained in:
itsmattkc
2020-04-14 15:16:38 +10:00
parent 9cc343bf13
commit feceef0d62
2 changed files with 15 additions and 1 deletions
+1
View File
@@ -62,6 +62,7 @@ public:
FFmpegFramePool::ElementPtr GetFrameFromCache(const int64_t& t) const;
void RemoveFramesBefore(const qint64& t);
void TruncateCacheRangeTo(const qint64& t);
rational sample_aspect_ratio() const;
AVStream* stream() const;