media nodes: moved video/audioinput category to media base

They both have the same category, so they can share the same code in their base.
This commit is contained in:
itsmattkc
2020-04-03 23:28:03 +11:00
parent 3dd91a1429
commit 11f962d6b3
6 changed files with 7 additions and 12 deletions
+5
View File
@@ -32,6 +32,11 @@ MediaInput::MediaInput() :
AddInput(footage_input_);
}
QString MediaInput::Category() const
{
return tr("Input");
}
StreamPtr MediaInput::footage()
{
return footage_input_->get_standard_value().value<StreamPtr>();