finished merge of viewer and footage
This commit is contained in:
@@ -214,7 +214,7 @@ void ProjectImportTask::ValidateImageSequence(Footage *footage, QFileInfoList& i
|
||||
video_stream.set_start_time(start_index);
|
||||
video_stream.set_duration(end_index - start_index + 1);
|
||||
|
||||
footage->SetVideoParams(0, video_stream);
|
||||
footage->SetVideoParams(video_stream, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -169,15 +169,15 @@ bool LoadOTIOTask::Run()
|
||||
probed_item->setParent(project_->root());
|
||||
}
|
||||
|
||||
Footage::StreamReference reference;
|
||||
Track::Reference reference;
|
||||
|
||||
if (track->type() == Track::kVideo) {
|
||||
reference = Footage::StreamReference(Stream::kVideo, 0);
|
||||
reference = Track::Reference(Track::kVideo, 0);
|
||||
} else {
|
||||
reference = Footage::StreamReference(Stream::kAudio, 0);
|
||||
reference = Track::Reference(Track::kAudio, 0);
|
||||
}
|
||||
|
||||
QString output_id = probed_item->GetStringFromReference(reference);
|
||||
QString output_id = reference.ToString();
|
||||
|
||||
Node::ConnectEdge(NodeOutput(probed_item, output_id), NodeInput(block, ClipBlock::kBufferIn));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user