ref_vfmethod_eventProc - shekh/VirtualDub2 GitHub Wiki
VirtualDub Plugin SDK 1.2
eventProc video filter method
Invoked to notify the filter of out of band events during rendering.
bool eventProc(const VDXFilterActivation *fa, const VDXFilterFunctions *ff, uint32 event, void *eventData);
fa | Pointer to filter activation structure. |
ff | Pointer to callback function structure. |
event | ID of event. |
eventData | Optional data structure for event. The presence and type of this data is different for each event type. |
This method is not thread-safe.
This function must not throw exceptions (see Except()).
True if the event was recognized and handled, or false otherwise. A host may elect not to send further events of a type if a filter indicates that it does not handle that event type.
Requires V14 or later.
If omitted, no default action is taken.
Event IDs use kVDXVFEvent_
as their symbol prefix. The events that can
be delivered are as follows:
InvalidateCaches
A change has occurred in an upstream filter that requires caches to be flushed on downstream filters. This generally occurs when upstream filter parameters are tweaked through the UI. Invalidation events are used because they are faster than reinitializing the filter chain.
Copyright (C) 2007-2012 Avery Lee.