For an instance, this is the frame rate of the project the effect is in.
| 415 | |
| 416 | // For an instance, this is the frame rate of the project the effect is in. |
| 417 | double |
| 418 | OfxImageEffectInstance::getFrameRate() const |
| 419 | { |
| 420 | assert( getOfxEffectInstance() && getOfxEffectInstance()->getApp() ); |
| 421 | |
| 422 | return getOfxEffectInstance()->getApp()->getProjectFrameRate(); |
| 423 | } |
| 424 | |
| 425 | /// This is called whenever a param is changed by the plugin so that |
| 426 | /// the recursive instanceChangedAction will be fed the correct frame |
nothing calls this directly
no test coverage detected