Detect if data on input port or widget has changed
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
To my knowledge there is no possibility to detect inside a filter if the data on an input port has not changed (e.g. only a widget has been modified). This would allow to skip dependent computation (e.g. initialization) and hence improve the efficiency of the module.
It would be nice to be able to detect if:
- the data on one of the (optional) input ports has changed
- the state of a parameter has changed (AVS5 offers this functionality by AVSinput_changed() and AVSparameter_changed())
Additionally it would make sense to allow the filter programmer to declare that the data on an output port has not changed, in order to prevent subsequent modules from being triggered. (AVS5 offers this functionality by AVSmark_output_unchanged())