diff --git a/lib/App/common/hardwareManager.cpp b/lib/App/common/hardwareManager.cpp index 4d15ffb7..e17ac508 100644 --- a/lib/App/common/hardwareManager.cpp +++ b/lib/App/common/hardwareManager.cpp @@ -1432,12 +1432,12 @@ bool hardwareManager::updateSysInfo( DBC_SYS_LOAD_INFO *ptr ){ # echo 3 > /proc/sys/vm/drop_caches */ - system( "echo 1 > /proc/sys/vm/drop_caches" ); + //system( "echo 1 > /proc/sys/vm/drop_caches" ); if( m_bCacheCleanCounter ) { m_bCacheCleanCounter--; } else { // KillSellf - kill( getpid(), 9 ); + // kill( getpid(), 9 ); }; }; } else { diff --git a/lib/App/common/kernelModuleEmbedVideo.cpp b/lib/App/common/kernelModuleEmbedVideo.cpp index f8a09aaf..1924420b 100644 --- a/lib/App/common/kernelModuleEmbedVideo.cpp +++ b/lib/App/common/kernelModuleEmbedVideo.cpp @@ -2668,11 +2668,11 @@ bool streamHandler::openSegmentA( void ){ getPFTS( &ts ); m_sStreamSegmentInfo[0].streamTSS = ts.seconds; m_sStreamSegmentInfo[0].streamTMS = ts.milliseconds; - +#ifdef DEBUG_EXTRA char tB[128]; sprintf( tB, "A opened %d.%d", m_sStreamSegmentInfo[0].streamTSS, m_sStreamSegmentInfo[0].streamTMS ); LOG( tB ); - +#endif strncpy( m_sStreamSegmentInfo[0].recordEXT, VIDEO_OUTPUT_CONTAINER, 6 ); m_sStreamSegmentInfo[0].streamFPS = m_sStreamData.fps; m_sStreamSegmentInfo[0].streamWidth = m_pMaster->getWidh(); @@ -2827,11 +2827,11 @@ bool streamHandler::openSegmentB( void ){ getPFTS( &ts ); m_sStreamSegmentInfo[1].streamTSS = ts.seconds; m_sStreamSegmentInfo[1].streamTMS = ts.milliseconds; - +#ifdef DEBUG_EXTRA char tB[128]; sprintf( tB, "B opened %d.%d", m_sStreamSegmentInfo[1].streamTSS, m_sStreamSegmentInfo[1].streamTMS ); LOG( tB ); - +#endif strncpy( m_sStreamSegmentInfo[1].recordEXT, VIDEO_OUTPUT_CONTAINER, 6 ); m_sStreamSegmentInfo[1].streamFPS = m_sStreamData.fps; m_sStreamSegmentInfo[1].streamWidth = m_pMaster->getWidh();