From cd6e1ebadcde8d121cb3040935c94d9ccf71697a Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Tue, 12 Nov 2019 13:38:46 -0600 Subject: [PATCH 1/2] added kOfxImageClipPropDisplayTimeOffset --- include/ofxImageEffect.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/ofxImageEffect.h b/include/ofxImageEffect.h index 7dbe3dd5f..b17999ccb 100644 --- a/include/ofxImageEffect.h +++ b/include/ofxImageEffect.h @@ -929,6 +929,16 @@ then the plugin can detect this via an identifier change and re-evaluate the cac */ #define kOfxImagePropUniqueIdentifier "OfxImagePropUniqueIdentifier" +/** @brief Clip property which indicates the display start frame of the clip + + - Type - double X 1 + - Property Set - clip instance (read only) + - Default - 0 + +This value should be added to the internal frame number when displayed in a plugin user interface +*/ +#define kOfxImageClipPropDisplayTimeOffset "kOfxImageClipPropDisplayTimeOffset" + /** @brief Clip and action argument property which indicates that the clip can be sampled continously - Type - int X 1 From 664193f57209d5bab0dc92ffd3c8b491ad20d245 Mon Sep 17 00:00:00 2001 From: fxtech Date: Wed, 13 Nov 2019 08:18:50 -0600 Subject: [PATCH 2/2] updated description per Gary's feedback --- include/ofxImageEffect.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ofxImageEffect.h b/include/ofxImageEffect.h index b17999ccb..096021127 100644 --- a/include/ofxImageEffect.h +++ b/include/ofxImageEffect.h @@ -935,7 +935,8 @@ then the plugin can detect this via an identifier change and re-evaluate the cac - Property Set - clip instance (read only) - Default - 0 -This value should be added to the internal frame number when displayed in a plugin user interface +Plugins should add this value to internal OFX frame numbers when displayed in a plugin user interface, so the user will see the +same frame numbers as they see in the host's UI. */ #define kOfxImageClipPropDisplayTimeOffset "kOfxImageClipPropDisplayTimeOffset"