[vlc-devel] Embed VLC in C
Youssef AZZOUZI
sidimoulay2000 at hotmail.fr
Fri Aug 28 16:09:10 CEST 2009
Hi,
I found it on the topic that you sent to me, at the end there is:
i_ret = (VLC_Init)(id, 6, commands );
printf("%d\n", i_ret);
if( i_ret < 0 ) {
getError(i_ret);
(VLC_Destroy)( id );
return -1;
}
// Start playing
i_ret = (VLC_Play)(id);
if( i_ret < 0 ) {
getError(i_ret);
return false;
}
getchar();
while((VLC_IsPlaying)(id));
(VLC_Die)(id);
(VLC_CleanUp)(id);
(VLC_Destroy)(id);
freeLibrary();
return 0;
Regards
__________ Information provenant d'ESET Smart Security, version de la base des signatures de virus 4377 (20090828) __________
Le message a été vérifié par ESET Smart Security.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090828/5f89df05/attachment.html>
More information about the vlc-devel
mailing list