Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#21 | Link | |||
|
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Quote:
Quote:
Quote:
BTW, banning '_' from dll & function name would resolve almost all the issues you're expecting. The filters using '_' in the dll name or a function name can be counted on the finger of one hand ( I know only _2DcleanerYUY2 ) |
|||
|
|
|
|
|
#22 | Link | |||
|
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
Quote:
Despite what the AviSynth docs say, user-defined functions seem to override plug-ins and built-in function names. (I think it's better that way. Functions in the script itself should take precedence. It would be bad if adding a plug-in to the autoload directory broke an existing script.) Nothing should happen to that user-defined function. The current approach is that when a plug-in adds its function names to the namespace, AviSynth generates the corresponding dll_ names and adds those to the namespace too. This has the advantage of not requiring any changes to the parser and not having any ambiguity, but it has the disadvantage that the generated names won't necessarily be unique. If there is a collision, behavior would be the same as it currently is. Quote:
Last edited by stickboy; 8th March 2004 at 14:39. |
|||
|
|
|
|
|
#23 | Link |
|
Fascinated Lurker
Join Date: Feb 2002
Location: Durham, UK
Posts: 243
|
If we are creating alias function names do we really need overrides at all?
Is it not possible that when a filter is parsed that the regular function names are defined AND an alias name which is filtername_functionname is also defined. If a name exists then only the latter is defined. This not only allows you to use the first funciton in the chain as Function() but it also allows you to specify which type you use whether there is a function clash or not. So even if I didn't have any other filters that contained Telecide I could still have a script containing decomb511_telecide(order=1) and know what I was going to get and if by chance I happen to leave an old version in the plugin dir I'd still be able to use the new one. Am I making any sense? |
|
|
|
|
|
#24 | Link | |||
|
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#26 | Link |
|
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
Hmm... I'm trying the 2004-03-14 AviSynth build, and it looks like the new DLLName_function() support works only for auto-loaded plug-ins. It doesn't seem to auto-generate the additional names for plug-ins loaded from LoadPlugin.
Is this the intended behavior? |
|
|
|
![]() |
|
|