diff --git a/Projects/la_mojo/la_mojo.vpj b/Projects/la_mojo/la_mojo.vpj
index 7d7de86d..dabdf39b 100644
--- a/Projects/la_mojo/la_mojo.vpj
+++ b/Projects/la_mojo/la_mojo.vpj
@@ -392,7 +392,7 @@
SaveOption="SaveCurrent"
RunFromDir="%rw">
-
+
setRessourceActive( (*idx)->getDbId(), false );
-#ifdef DEBUG
+#ifndef DEBUG
char tB[256];
sprintf( tB, "Info: DBID[%d] R-Type: %d Provider: %d ", (*idx)->getDbId(), (*idx)->getHardwareType(), (*idx)->getProviderType() );
LOG( tB );
@@ -386,7 +386,7 @@ bool hardwareManager::validate( void ){
} else {
m_pDBC->setRessourceActive( (*idx)->getDbId() );
-#ifdef DEBUG
+#ifndef DEBUG
LOG("Re-Created OK");
#endif
};
diff --git a/lib/App/common/hardwareResourceVideoProvider.cpp b/lib/App/common/hardwareResourceVideoProvider.cpp
index cd27110d..5ab85e12 100644
--- a/lib/App/common/hardwareResourceVideoProvider.cpp
+++ b/lib/App/common/hardwareResourceVideoProvider.cpp
@@ -37,12 +37,14 @@ bool hardwareResourceVideoProvider::create( void ){
LOG("Creating Local Video Source!");
if( m_pDBC->updateLocalCam( m_sStreamData.source_id ) ){
LOG("Cam Updated!");
- return m_pDBC->setStreamValid( m_sStreamData.id );
+ return m_bValid = m_pDBC->setStreamValid( m_sStreamData.id );
};
LOG("Cam NOT! Updated!");
return false;
};
+
+
#undef LOG
#undef LOG_ERROR
diff --git a/lib/App/common/kernelEventFilterBubble.cpp b/lib/App/common/kernelEventFilterBubble.cpp
index 78cd0cb4..5a095333 100644
--- a/lib/App/common/kernelEventFilterBubble.cpp
+++ b/lib/App/common/kernelEventFilterBubble.cpp
@@ -122,7 +122,7 @@ bool kernelEventFilterBubble::initFilter(){
};
delete( tList );
};
- m_bActive = init();
+ return m_bActive = init();
};
void kernelEventFilterBubble::m_fThreadProc( void ){
@@ -348,7 +348,7 @@ bool kernelEventFilterBubble::popSessionBubbles(){
m_mDataProtector.lock();
if ( m_vTargetBubbles.size() ) {
//Erase All
- for (V_TARGET_SEGMENTS::iterator idx = m_vTargetBubbles.begin(); idx != m_vTargetBubbles.end(); ) free(*idx);
+ for (V_TARGET_SEGMENTS::iterator idx = m_vTargetBubbles.begin(); idx != m_vTargetBubbles.end(); idx++ ) free(*idx);
m_vTargetBubbles.clear();
};
DBC_INT_LIST *tList = m_pDBC->listFrozenBubbles( m_sBubbleFilterData.min_block_counts );
diff --git a/lib/App/mojo/mojoBackend.cpp b/lib/App/mojo/mojoBackend.cpp
index a5354db6..40ede356 100644
--- a/lib/App/mojo/mojoBackend.cpp
+++ b/lib/App/mojo/mojoBackend.cpp
@@ -395,6 +395,7 @@ int main( int argc, char *argv[] ){
// Clear to start Service
m_pLog = basicLogCollection::getInstance( _LOG_LVL_TIME_PTR );
+
#ifndef DEBUG
m_pLog->setLogLevel( _LOG_ERROR ); // Most Silent Mode
#else
@@ -407,7 +408,7 @@ int main( int argc, char *argv[] ){
m_pLog->setLogLevel( _LOG_ALL );
#endif
#endif
-#endif
+#endif
if ( FLE ){// Init File Logging Engine
m_pLog->addHandler((basicLoggingService *) new objectFileLoggingService( FLE_NAME ));
diff --git a/lib/components/base/basicSettingsProvider.cpp b/lib/components/base/basicSettingsProvider.cpp
index 3bdc7772..c11af868 100644
--- a/lib/components/base/basicSettingsProvider.cpp
+++ b/lib/components/base/basicSettingsProvider.cpp
@@ -49,6 +49,7 @@ basicSettingsProvider::~basicSettingsProvider(){
};
bool basicSettingsProvider::load( void ){
+ m_bModified = false;
if( fileExist( m_pFileName ) ) {
if( !config_read_file( &m_sCfg, m_pFileName ) ){
//fprintf( stderr, "%s:%d - %s\n", config_error_file( &m_sCfg ), config_error_line( &m_sCfg ), config_error_text( &m_sCfg ) );