Git commit 3835b4fa7c2d8ab99f5457dd3fc510e7b320f625 by Jean-Baptiste Kempf,= on behalf of Rafa=C3=ABl Carr=C3=A9. Committed on 26/05/2013 at 11:37. Pushed by kempf into branch 'master'. Better debug message when libVLC is failing libvlc_errmsg() returns uninitialized data when libvlc_new was not called, and nothing when it was called but failed Signed-off-by: Jean-Baptiste Kempf M +1 -1 src/utils/libvlc.cpp http://commits.kde.org/phonon-vlc/3835b4fa7c2d8ab99f5457dd3fc510e7b320f625 diff --git a/src/utils/libvlc.cpp b/src/utils/libvlc.cpp index 83e5b04..d0fc4e3 100644 --- a/src/utils/libvlc.cpp +++ b/src/utils/libvlc.cpp @@ -133,7 +133,7 @@ bool LibVLC::init() // Create and initialize a libvlc instance (it should be done only= once) self->m_vlcInstance =3D libvlc_new(vlcArgs.size(), vlcArgs.constDa= ta()); if (!self->m_vlcInstance) { - fatal() << "libVLC:" << LibVLC::errorMessage(); + fatal() << "libVLC: could not initialize"; return false; } return true;