memory: try caching frameptrs instead of avframes so we have more control

This commit is contained in:
itsmattkc
2020-02-23 21:20:33 +11:00
parent 48cdb3a6dd
commit b1cb8489df
6 changed files with 158 additions and 135 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ void Frame::set_timestamp(const rational &timestamp)
timestamp_ = timestamp;
}
/*const int64_t &Frame::native_timestamp()
const int64_t &Frame::native_timestamp()
{
return native_timestamp_;
}
@@ -98,7 +98,7 @@ void Frame::set_timestamp(const rational &timestamp)
void Frame::set_native_timestamp(const int64_t &timestamp)
{
native_timestamp_ = timestamp;
}*/
}
const PixelFormat::Format &Frame::format() const
{