<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
<BR>
I am building my own Delphi Wrapper for the libvlc api.<BR>
<BR>
I have been experiencing a deadlock when there are 4 x media players playing streaming udp video and then i stop mulitple mediaplayers at the same time i.e.<BR>
<BR>
procedure TMainForm.StopButtonClick(Sender: TObject);<BR>Var<BR> i : integer;<BR>begin<BR> For i := 1 to 4 do<BR>
Begin<BR> libvlc_media_player_stop(MediaPlayer[i], VLC_Exception.Instance);<BR> CheckError;<BR>
Rnd;<BR>end;<BR>
<BR>
<BR>
Sometimes it works fine, but more often that not on the 2nd or 3rd loop the dead lock will happen. (I am using a single instance of libvlc_new, 4 x libvlc_media_player_new, and 4 x libvlc_media_new)<BR>
<BR>
Please could someone take a look?<BR>
<BR>
Chris<RTE_TEXT></RTE_TEXT><BR><br /><hr />Are you a PC? Upload your PC story and show the world <a href='http://clk.atdmt.com/UKM/go/122465942/direct/01/' target='_new'>Click Here!</a></body>
</html>