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
|
||||
|
||||
@@ -40,8 +40,8 @@ public:
|
||||
|
||||
virtual QList<CategoryID> Category() const override;
|
||||
|
||||
StreamPtr footage();
|
||||
void SetFootage(StreamPtr f);
|
||||
StreamPtr stream();
|
||||
void SetStream(StreamPtr s);
|
||||
|
||||
virtual bool IsMedia() const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user