[vlc-devel] commit: testapi.c: Use ../../modules too. (Pierre d'Herbemont )

Pierre d'Herbemont pdherbemont at free.fr
Fri Mar 28 18:22:46 CET 2008


On Mar 28, 2008, at 3:42 PM, Pierre d'Herbemont wrote:
>
> On Mar 28, 2008, at 3:27 PM, Rémi Denis-Courmont wrote:
>
>> Le Friday 28 March 2008 16:21:50 Pierre d'Herbemont, vous avez  
>> écrit :
>>>>> testapi.c: Use ../../modules too.
>>>>
>>>> Hmm??? modules are always in ../modules !
>>>
>>> Not on jones. vlc is in .libs/vlc so the relative starts from here.
>>
>> So? --plugin-path is supposed to be relative to the CWD, not to the
>> VLC
>> binary. As it happens tests are run from src/, hence ../modules/.
>
> Gosh, then it's a bug in our Mac OS X code.

Well, it's a feature. When we are launched from the finder we need to  
dynamically adjust our path to where the VLC.app bundle is located.  
And the finder may not launch us from the right place.

I am going to fix this though.

Pierre.


More information about the vlc-devel mailing list