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:
<br><br> char *lib_vlc_params[] = { <br> applicationPath, "-I", "dummy", "-vvvv", <br> "--opengl-provider", "minimal_macosx", <br> "--no-video-title-show", NULL
<br> };<br> <br> instance = libvlc_new( 7, lib_vlc_params, &ex );<br> quit_on_exception( &ex );<br><br>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.
<br><br><div><span class="gmail_quote">On 10/21/07, <b class="gmail_sendername">Rémi Denis-Courmont</b> <<a href="mailto:rdenis@simphalempin.com">rdenis@simphalempin.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Apparently, libvlc_new() ignores its first argument (argv[0]). But<br>the "documentation" reports the contrary...<br><br>Who is right???<br><br>--<br>Rémi Denis-Courmont<br><a href="http://www.remlab.net/">http://www.remlab.net/
</a><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel">http://mailman.videolan.org/listinfo/vlc-devel
</a><br></blockquote></div><br>