Which kdenlive_renderer is used?

Which kdenlive_renderer is used when I call kdenlive from nonstandard location?
Which kdenlive_renderer is used if I use multiple developers versions of Kdenlive?
How can I check it?
Is it dependent on PATH settings?
Ideal solution would be to check if kdenlive_renderer is the same directory as kdenlive binary, if it is then use kdenlive_renderer from this dir, if not, call kdenlive_renderer in standard way, ie in PATH directories.