Skip to content

Commit 599c5a4

Browse files
authored
Replaced clip_if() with find_clips() in sample code in README.md (#1541)
Signed-off-by: Joshua Minor <jminor@users.noreply.github.com>
1 parent 2d61921 commit 599c5a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ main()
110110
)
111111
);
112112
const std::vector<otio::SerializableObject::Retainer<otio::Clip>> clips = (
113-
tl->clip_if()
113+
tl->find_clips()
114114
);
115115
for (const auto& cl : clips)
116116
{
@@ -127,7 +127,7 @@ Python:
127127
import opentimelineio as otio
128128
129129
timeline = otio.adapters.read_from_file("foo.aaf")
130-
for clip in timeline.clip_if():
130+
for clip in timeline.find_clips():
131131
print(clip.name, clip.duration())
132132
```
133133

0 commit comments

Comments
 (0)