<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hi,<BR>
 <BR>
When I run libvlc_playlist_play, the video starts; when I run libvlc_playlist_stop, the video stops.<BR>
However when I use libvlc_playlist_pause, it doesn't pause. Is there any tricky to use pause function?<BR>
 <BR>
The vlc I used is the stable version 0.8.6c.<BR>
 <BR>
The codes are as following:<BR>
 <BR>
char *myarg0 = "test";<BR>
char *myarg1 = "v4l://";<BR>
char *myarg2 = ":v4l-vdev=/dev/video0";<BR>
char *myarg3 = ":v4l-adev=/dev/dsp";<BR>
char *myargs[4] = {myarg0,myarg1,myarg2,myarg3};<BR>
libvlc_exception_init (&excp);<BR>
inst = libvlc_new (4, myargs, &excp);<BR>
quit_on_exception (&excp);<BR>
libvlc_playlist_play (inst, -1, 0, NULL, &excp);//video started <BR>
sleep(10);<BR>
libvlc_playlist_stop(inst,&excp);  //video stopped<BR>
sleep(10);<BR>
libvlc_playlist_play (inst, -1, 0, NULL, &excp);//video started again<BR>
sleep(10);<BR>
libvlc_playlist_pause(inst,&excp);//video doesn't pause<BR>
sleep(10);<BR>
libvlc_destroy(inst);<BR>
 <BR>
 <BR>
Thanks a lot for your help!!<BR>
 <BR>
Yours<BR>
J<BR>
 <BR>
 <BR>
 <BR><br /><hr />用 Windows Live Spaces 展示个性自我,与好友分享生活!  <a href='http://spaces.live.com/?page=HP' target='_new'>了解更多信息!</a></body>
</html>