We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edffd5d commit 4d31e15Copy full SHA for 4d31e15
README.md
@@ -106,16 +106,12 @@ namespace otio = opentimelineio::OPENTIMELINEIO_VERSION;
106
void
107
main()
108
{
109
- otio::ErrorStatus err;
110
otio::SerializableObject::Retainer<otio::Timeline> tl(
111
dynamic_cast<otio::Timeline*>(
112
- otio::Timeline::from_json_file("taco.otio", &err)
+ otio::Timeline::from_json_file("taco.otio")
113
)
114
);
115
- const std::vector<otio::SerializableObject::Retainer<otio::Clip>> clips = (
116
- tl->find_clips()
117
- );
118
- for (const auto& cl : clips)
+ for (const auto& cl : tl->find_clips())
119
120
otio::RationalTime dur = cl->duration();
121
std::cout << "Name: " << cl->name() << " [";
0 commit comments