error in a function libvlc

About encoding, codec settings, muxers and filter usage
isabelle
Blank Cone
Blank Cone
Posts: 10
Joined: 22 Apr 2011 12:36

error in a function libvlc

Postby isabelle » 08 May 2011 19:01

I compiled the source code of VLC-1.1.9 and I am working to develop a streaming server and I use libvlc functions but there is an error that occurs
J'uilise this feature
static void raise(libvlc_exception_t *exception) //ligne 7
{
if (libvlc_exception_raised (exception))
{
fprintf (stderr, "erreur: %s\n", libvlc_exception_get_message(exception));
exit (EXIT_FAILURE);
}
}



by compiling the file .c that contains this function on the shell, it gives me this error

src/video/video.c:7: error: variable or field ‘raise’ declared void
src/video/video.c:7: error: ‘libvlc_exception_t’ was not declared in this scope
src/video/video.c:7: error: ‘exception’ was not declared in this scope
mv: impossible d'évaluer «video.o»: Aucun fichier ou dossier de ce type

I need your help, if you have an idea feel free to help me

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: error in a function libvlc

Postby Jean-Baptiste Kempf » 08 May 2011 20:28

You are using the old api in libVLC 1.1. This won't work.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests