Throws an exception after calling libvlc_errmsg() after libv

This forum is about all development around libVLC.
olga.krupina
Blank Cone
Blank Cone
Posts: 21
Joined: 10 May 2011 00:42

Throws an exception after calling libvlc_errmsg() after libv

Postby olga.krupina » 15 Jun 2011 23:38

I am using VLC librray for VLC versions 1.1.++. The problem occurred on mac Mini and was reproduce on the different mac Minis.
Using VlC library with the native calls.
Called libvlc_errmsg after innocently calling libvlc_get_version(). And got the error message: "DRHT". Note that I cleared the errors before callling ..getVersion().
Looked at the previous versions of VLC lib that used the exceptions as a parameter and found out that the method get_version did not have exceptions as a parameter.
Removed libvlc_errmsg after ...get_version() since it caused problems-works fine.
Just out of curiosity, why is it happening?
By the way, the problem did not occur on Windows, running VLC 1.1.++.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Throws an exception after calling libvlc_errmsg() after

Postby Rémi Denis-Courmont » 16 Jun 2011 08:45

libvlc_errmsg() is undefined before libvlc_new() or after libvlc_release().

Besides libvlc_get_version(), libvlc_get_compiler() and libvlc_get_changeset() functions cannot fail.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests