cache frames alongside the frame index
Decoder will now pre-render/decode frames in advance of needing them
This commit is contained in:
@@ -80,7 +80,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_;
|
||||
}
|
||||
@@ -88,7 +88,7 @@ const int64_t &Frame::native_timestamp()
|
||||
void Frame::set_native_timestamp(const int64_t ×tamp)
|
||||
{
|
||||
native_timestamp_ = timestamp;
|
||||
}
|
||||
}*/
|
||||
|
||||
const olive::PixelFormat &Frame::format()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user