memory: try caching frameptrs instead of avframes so we have more control
This commit is contained in:
+2
-2
@@ -90,7 +90,7 @@ void Frame::set_timestamp(const rational ×tamp)
|
||||
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 ×tamp)
|
||||
void Frame::set_native_timestamp(const int64_t ×tamp)
|
||||
{
|
||||
native_timestamp_ = timestamp;
|
||||
}*/
|
||||
}
|
||||
|
||||
const PixelFormat::Format &Frame::format() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user