Skip to content

Commit

Permalink
Replaced clip_if() with find_clips() in sample code in README.md (#1541)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Minor <jminor@users.noreply.github.com>
  • Loading branch information
jminor committed Feb 10, 2023
1 parent 2d61921 commit 599c5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ main()
)
);
const std::vector<otio::SerializableObject::Retainer<otio::Clip>> clips = (
tl->clip_if()
tl->find_clips()
);
for (const auto& cl : clips)
{
Expand All @@ -127,7 +127,7 @@ Python:
import opentimelineio as otio
timeline = otio.adapters.read_from_file("foo.aaf")
for clip in timeline.clip_if():
for clip in timeline.find_clips():
print(clip.name, clip.duration())
```

Expand Down

0 comments on commit 599c5a4

Please sign in to comment.