<div>Actually I am trying to get multiple child windows running videos using the vlc libraries right now. I am using the latest builds and the jvlc bindings. I am trying to work through understanding how to get the right options setup like for streaming (I left and email for the vlc team today) but otherwise it appears to work fine but I need to get streaming working so I and my testers can get back to testing vlc.</div>  <div> </div>  <div>Regards,</div>  <div>-Tony Anecito</div>  <div>Founder,</div>  <div>MyUniportal</div>  <div><A href="http://www.myuniportal.com">http://www.myuniportal.com</A></div>  <div><BR><BR><B><I>Rémi Denis-Courmont <rem@videolan.org></I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hello,<BR><BR>Le mardi 12 juin 2007, Herman Schultz a écrit :<BR>> I am trying to embed&invoke VLC in my c application.<BR>><BR>> I invoke VLC like this:<BR>> //
 i_argc is an int<BR>> // ppsz_argv2 is char* ppsz_argv2[]<BR>><BR>> int i_ret = VLC_Create();<BR>> i_ret = VLC_Init( 0, i_argc, ppsz_argv2 );<BR>> i_ret = VLC_AddIntf( 0, NULL, VLC_TRUE, VLC_TRUE );<BR>><BR>> It works the first time when I do this.<BR>> But when I do that the same i_argc, ppsz_arg2[] the second time, I<BR>> get an segmentation inside VLC_Init().<BR>><BR>> Can you please tell me why is there? Or if that is the right way to<BR>> embed/invoke VLC in my own application.<BR><BR>There are two reasons why they crashes:<BR>The bad reason is that VLC 0.8.6 is not quite multi-instance-safe yet; <BR>we are trying to solve this in upcoming version 0.9.0 but we would need <BR>people to test this seriously.<BR><BR>The good reason is that the "VLC" API (as used in src/vlc.c) uses main <BR>VLC object number "0". Given object numbers are shared across a <BR>process, there cannot be two VLC instance using object number 0. In <BR>other
 word, without some changes, the "VLC" API cannot be used to spawn <BR>more than one instance at a time.<BR><BR>*However*, as Pierre pointed out, the newer LibVLC media control API <BR>should work fine.<BR><BR>-- <BR>Rémi Denis-Courmont<BR>http://www.remlab.net/<BR></BLOCKQUOTE><BR><p>
      <hr size=1>Luggage? GPS? Comic books? <br>
Check out fitting <a href="http://us.rd.yahoo.com/evt=48249/*http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz"> gifts for grads</a> at Yahoo! Search.