MediaInput: Rename streams access methods.
Change MediaInput::footage() to MediaInput::stream() and MediaInput::SetFootage() to MediaInput::SetStream() as they access streams not footage. Also update all instances of access methods to reflect this change.
This commit is contained in:
@@ -40,14 +40,14 @@ QList<Node::CategoryID> MediaInput::Category() const
|
||||
return {kCategoryInput};
|
||||
}
|
||||
|
||||
StreamPtr MediaInput::footage()
|
||||
StreamPtr MediaInput::stream()
|
||||
{
|
||||
return footage_input_->get_standard_value().value<StreamPtr>();
|
||||
}
|
||||
|
||||
void MediaInput::SetFootage(StreamPtr f)
|
||||
void MediaInput::SetStream(StreamPtr s)
|
||||
{
|
||||
footage_input_->set_standard_value(QVariant::fromValue(f));
|
||||
footage_input_->set_standard_value(QVariant::fromValue(s));
|
||||
}
|
||||
|
||||
bool MediaInput::IsMedia() const
|
||||
|
||||
Reference in New Issue
Block a user