[vlc-devel] libvlc_new arguments?

Damien Fouilleul Damien.Fouilleul at laposte.net
Sun Oct 21 22:35:29 CEST 2007


i agree, the path specified in argv[0] is used a an extra path to check 
when searching for plugins

Enrique Osuna wrote:
> libvlc_new doesn't ignore the first argument.  Unless something has 
> changed in the code between yesterday and today. The following code is 
> used in the MacOSX bindings to make sure that libvlc can find where 
> the lib and module folder is:
>
>         char *lib_vlc_params[] = {
>             applicationPath, "-I", "dummy", "-vvvv",
>             "--opengl-provider", "minimal_macosx",
>             "--no-video-title-show", NULL
>         };
>        
>         instance = libvlc_new( 7, lib_vlc_params, &ex );
>         quit_on_exception( &ex );
>
> Where application path is the location of where your application sits 
> (and lib and modules should be subfolders sitting right next to your 
> application).  I haven't confirmed and looked at the code, but I could 
> be mistaken.  But like I said, the preceding code works great in the 
> MacOSX bindings.
>
> On 10/21/07, *Rémi Denis-Courmont* <rdenis at simphalempin.com 
> <mailto:rdenis at simphalempin.com>> wrote:
>
>     Apparently, libvlc_new() ignores its first argument (argv[0]). But
>     the "documentation" reports the contrary...
>
>     Who is right???
>
>     --
>     Rémi Denis-Courmont
>     http://www.remlab.net/ <http://www.remlab.net/>
>     _______________________________________________
>     vlc-devel mailing list
>     To unsubscribe or modify your subscription options:
>     http://mailman.videolan.org/listinfo/vlc-devel
>     <http://mailman.videolan.org/listinfo/vlc-devel>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>   





More information about the vlc-devel mailing list