<div>Hi All,</div>  <div> </div>  <div>While working with vlc I noticed that there were multiple instances of v_out with incorrect instance references to vlclib. I suspect this has something to do with multiple windows being displayed and need to get a question answered about vlc code in order to help.</div>  <div> </div>  <div>What I have discovered in the windows environment that two calls to get what should be the same instance to vlc come up with different references. The fucntions I notice this in is:</div>  <div> </div>  <div>1. Setting a window handle to an instance of libvlc</div>  <div>file: video.c     (in vlc-trunk/src/control folder)</div>  <div>function: libvlc_video_setParent() </div>  <div>statement: var_SetInteger(p_instance->p_libvlc_int, "drawable", (int)d);</div>  <div> </div>  <div>2. Retrieveing a window handle to an instance of libvlc</div>  <div>file: vout_intf.c    (in
 vlc-trunk/src/video_output folder)</div>  <div>function: vout_RequestWindow() </div>  <div>statement: var_Get( p_vout->p_libvlc, "drawable", &val );</div>  <div> </div>  <div>When I do a call to setParent() and when a video is started the reference for libvlc is different when two windows (one without a vlc lib instance) I GET TWO DIFFERENT LIBVLC INSTANCES and there should only be one! What this does is when switching between an application with vlc embedded in a child window and in the same application a child window without vlc the video pops out of the child window in a separate standalone window because the call to RequestWindow points to a different instance of vlc and the window handle returned from that call in val is zero which causes a separate video output window to be created.</div>  <div> </div>  <div>So in order to help figure this out and potentially help the team I need to know where in the code the p_vout-p_libvlc gets set. I verified the
 call to setParent occurs once. I tried tracking down the p_libvlc variable but no luck on finding where.</div>  <div> </div>  <div>Thanks,</div>  <div>-Tony</div>  <div> </div><p>



      <hr size=1>Ahhh...imagining that irresistible "new car" smell?<br> Check out
<a href="http://us.rd.yahoo.com/evt=48245/*http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-">new cars at Yahoo! Autos.</a>