conformed oiiodecoder to new retrieve functions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user