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:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user