otio: update to be v0.14 compliant

This commit is contained in:
itsmattkc
2021-12-01 15:41:05 -08:00
parent 7be7392a07
commit 1828c2fd73
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -91,7 +91,7 @@ bool SaveOTIOTask::Run()
}
}
return (es == OTIO::ErrorStatus::OK);
return (es.outcome == OTIO::ErrorStatus::Outcome::OK);
}
OTIO::Timeline *SaveOTIOTask::SerializeTimeline(Sequence *sequence)
@@ -168,7 +168,7 @@ OTIO::Track *SaveOTIOTask::SerializeTrack(Track *track)
otio_track->append_child(otio_block, &es);
if (es != OTIO::ErrorStatus::OK) {
if (es.outcome != OTIO::ErrorStatus::Outcome::OK) {
goto fail;
}
}
@@ -194,7 +194,7 @@ bool SaveOTIOTask::SerializeTrackList(TrackList *list, OTIO::Timeline* otio_time
otio_timeline->tracks()->append_child(otio_track, &es);
if (es != OTIO::ErrorStatus::OK) {
if (es.outcome != OTIO::ErrorStatus::Outcome::OK) {
otio_track->possibly_delete();
return false;
}