[vlc-devel] Embed VLC in C
Kaarlo Räihä
agent_007 at luukku.com
Fri Aug 28 23:38:56 CEST 2009
http://wiki.videolan.org/LibVLC_Tutorial
that might work better.
Youssef AZZOUZI kirjoitti 28.08.2009 kello 17:09:
> 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
>
....................................................................
Luukku Plus -paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
More information about the vlc-devel
mailing list