conformed oiiodecoder to new retrieve functions

This commit is contained in:
itsmattkc
2019-11-30 02:48:14 +11:00
parent 1a9ae53181
commit a71c03b1ed
2 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -100,14 +100,13 @@ bool OIIODecoder::Open()
return true;
}
FramePtr OIIODecoder::Retrieve(const rational &timecode, const rational &length)
FramePtr OIIODecoder::RetrieveVideo(const rational &timecode)
{
if (!open_ && !Open()) {
return nullptr;
}
Q_UNUSED(timecode)
Q_UNUSED(length)
if (frame_ == nullptr) {
frame_ = Frame::Create();
@@ -147,3 +146,8 @@ int64_t OIIODecoder::GetTimestampFromTime(const rational &time)
return 0;
}
bool OIIODecoder::SupportsVideo()
{
return true;
}