[vlmc-devel] [PATCH] EventWaiter: fixed a bug which caused to return 'Success' even when an error occurred.

Ádám at videolan.org Ádám at videolan.org
Wed Nov 26 17:22:39 CET 2014


From: Ádám Maróti <jmarotiadam at gmail.com>

---
 src/Backend/VLC/EventWaiter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Backend/VLC/EventWaiter.cpp b/src/Backend/VLC/EventWaiter.cpp
index 480990a..a8589fb 100644
--- a/src/Backend/VLC/EventWaiter.cpp
+++ b/src/Backend/VLC/EventWaiter.cpp
@@ -27,7 +27,7 @@ using namespace Backend::VLC;
 EventWaiter::EventWaiter( LibVLCpp::MediaPlayer* mediaPlayer, bool startLocked )
     : m_mediaPlayer( mediaPlayer )
     , m_validationCallback( NULL )
-    , m_found( true )
+    , m_found( false )
     , m_startLocked( startLocked )
 {
     if ( startLocked == true )
-- 
2.1.0



More information about the Vlmc-devel mailing list