node: split off traversing functions from renderer for usage elsewhere

Fixes issue where Viewer node wouldn't pick up correct length if a tracks
weren't in use.
This commit is contained in:
itsmattkc
2020-03-13 15:31:15 +11:00
parent 41da5dbd53
commit 9e4c79699e
18 changed files with 218 additions and 142 deletions
-5
View File
@@ -28,8 +28,3 @@ QString AudioInput::Description() const
{
return tr("Import an audio footage stream.");
}
NodeValueTable AudioInput::Value(const NodeValueDatabase &value) const
{
return value[footage_input_];
}
-3
View File
@@ -15,9 +15,6 @@ public:
virtual QString Category() const override;
virtual QString Description() const override;
protected:
virtual NodeValueTable Value(const NodeValueDatabase& value) const override;
private:
};