updated OTIO functions for renamed functions

This commit is contained in:
itsmattkc
2020-10-24 10:13:06 +11:00
parent 4082f6d938
commit 253dd86da8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -175,10 +175,10 @@ bool LoadOTIOTask::Run()
MediaInput* media;
if (track->track_type() == Timeline::kTrackTypeVideo) {
media = new VideoInput();
media->SetFootage(probed_item->get_first_stream_of_type(Stream::kVideo));
media->SetStream(probed_item->get_first_stream_of_type(Stream::kVideo));
} else {
media = new AudioInput();
media->SetFootage(probed_item->get_first_stream_of_type(Stream::kAudio));
media->SetStream(probed_item->get_first_stream_of_type(Stream::kAudio));
}
sequence->AddNode(media);