public void setMetricContext(IVideo vidRef, int idProc, IVideo vidProc) { //do not set new context while macro is processing if (_propertyView.processing) return; flush(); this.idRes = idProc; if (vidRef != null) { handRef = vidRef.getExtraHandler(); this.rootEntry.frameCount = handRef.readVidInfo.frameCount; } if (vidProc != null) { handProc = vidProc.getExtraHandler(); this.rootEntry.frameCount = handProc.readVidInfo.frameCount; } (propertyView as Macro_PropertyView).filterMode = false; }
public void setFilterContext(int idRef, IVideo vidRef) { //do not set new context while macro is processing if (_propertyView.processing) return; flush(); this.idRes = idRef; handRef = vidRef.getExtraHandler(); (propertyView as Macro_PropertyView).filterMode = true; this.rootEntry.frameCount = handRef.readVidInfo.frameCount; //RemoveClickEvent((propertyView as Macro_PropertyView).startProcessing); }