Merge pull request #548 from volvet/add-set-scene-change-dection

add set method for scene change detection
This commit is contained in:
Licai Guo 2014-03-20 10:00:13 +08:00
commit 5ae37a1672

View File

@ -172,6 +172,13 @@ class CSceneChangeDetection : public IStrategy {
return RET_SUCCESS; return RET_SUCCESS;
} }
EResult Set(int32_t iType, void * pParam) {
if( pParam == NULL ){
return RET_INVALIDPARAM;
}
m_sSceneChangeParam = *(SSceneChangeResult*)pParam;
return RET_SUCCESS;
}
private: private:
SSceneChangeResult m_sSceneChangeParam; SSceneChangeResult m_sSceneChangeParam;
T m_cDetector; T m_cDetector;