View Single Post
Old 18th April 2018, 09:47   #7  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Hi shekh, I'm upgrading the virtualdub filter in avs+.
I have downloaded the demo crossfade filter and working with that one.
I have two questions:
1.) This specific filter can have two input clips. What marks multiple (2,3...) clips in the parameter signature?
2.) The filter uses V19 interface and in videofilter.h i can see
Code:
struct VDXFilterDefinition2: public VDXFilterDefinition{
	FilterModDefinition filterMod;
};
which extra filterMod is filled in
Code:
template<class T>
class VDXVideoFilterDefinition : public VDXFilterDefinition2
In current vd2 source from github:

Code:
struct VDXFilterDefinition { 

... old members ...

	// NEW - V20
	FilterModDefinition* fm;
};

struct FilterModDefinition {
	FilterModActivateProc		activateProc;
	FilterModParamProc		  paramProc;
};
which is now a pointer, probably incompatible, please note if I'm misunderstanding something.
Thanks in advance.
pinterf is offline   Reply With Quote