View Single Post
Old 6th January 2018, 14:02   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
At least one of RT_Stats functions do not behave the same.
I think the below may not work as expected due to the internal API function returning an empty string "".
Code:
RT_PluginDir               # pretty sure dont work (""), as multiple plugins directories
Dont recall any others, If additional then perhaps Pinterf could add to list (of internal API funcs that return "" rather than avs2.6 standad result).

Not sure about these [but think that they work the same, but obviously different results]
Code:
RT_PluginFunctions
RT_PluginParam
EDIT:
Also, I'm pretty sure that PluginParam/RT_PluginParam returns only a single parameter list for both avs+ and standard, where mutliple alternative arguments lists are provided for the same function.
(The API function only returns a single arument list [maybe the last, or maybe the first, dont recall]).

eg multiple argument/parameter list [From docs only, not necessarily as specified in source code]
Code:
AssumeFPS (clip, float fps, bool "sync_audio")
AssumeFPS (clip, int numerator [, int denominator], bool "sync_audio")
AssumeFPS (clip1, clip2, bool "sync_audio")                <<<-------- Below Edit returns this one
AssumeFPS (clip, string preset, bool "sync_audio")
Above is a limitation in API, so is same in avs+ or standard.
EDIT:
Maybe should take an optional int eg PluginParam(String FuncName,int "index"=0) which returns "" when no additional parameter lists.
Perhaps same type thing (or variation) for PluginDir.

EDIT: Source code
Code:
  { "AssumeFPS", "ci[]i[sync_audio]b", AssumeFPS::Create },      // dst framerate, sync audio?
  { "AssumeFPS", "cf[sync_audio]b", AssumeFPS::CreateFloat },    // dst framerate, sync audio?
  { "AssumeFPS", "cs[sync_audio]b", AssumeFPS::CreatePreset }, // dst framerate, sync audio?
  { "AssumeFPS", "cc[sync_audio]b", AssumeFPS::CreateFromClip }, // clip with dst framerate, sync audio?
For Assumefps, returns this one (last one specified in source)
Code:
AssumeFPS        "cc[sync_audio]b"
EDIT: Some plugins may have dropped support for YUY2, instead supporting YV16, (dont have a list of them).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 6th January 2018 at 18:08.
StainlessS is offline   Reply With Quote