axvlcplugin2 in visual studio 2005
Posted: 27 Aug 2008 16:41
hello,
I use VLC SDK to implement a player,
the VLC version is 0.9.0 & the working platfrom is Visual Studio 2005 & activeX
I want to clear & stop the vlc playlist & used it again,
but I got some problem.
the code is in the following...
when I want to reuse the playlist to play another film,
but the playlist still play the same film,
I have tried the version 0.8.6 and it worked very well
but the functions of version 0.8.6 are not enough to support me to implement the player
thanks for your help~~~
I use VLC SDK to implement a player,
the VLC version is 0.9.0 & the working platfrom is Visual Studio 2005 & activeX
I want to clear & stop the vlc playlist & used it again,
but I got some problem.
the code is in the following...
Code: Select all
....
//the code in the following is used to stop & clear
Object^ option= :sout=#transcode{vcodec=mp4v,vb=3072,deinterlace}:duplicate{dst=rtp{dst=233.0.0.11,port=10000,sdp=rtsp://xxx.xxx.xxx.xxx:8000/test.sdp}};
axVLCPlugin22->playlist->add("rtsp://xxx.xxx.xxx.xxx:8000/test.sdp", "" ,option);
axVLCPlugin22->playlist->stop(); //but I can't really stop the vlc process
axVLCPlugin22->playlist->clear();
.....
but the playlist still play the same film,
I have tried the version 0.8.6 and it worked very well
but the functions of version 0.8.6 are not enough to support me to implement the player
thanks for your help~~~