Merge pull request #548 from volvet/add-set-scene-change-dection
add set method for scene change detection
This commit is contained in:
commit
5ae37a1672
@ -172,6 +172,13 @@ class CSceneChangeDetection : public IStrategy {
|
||||
return RET_SUCCESS;
|
||||
}
|
||||
|
||||
EResult Set(int32_t iType, void * pParam) {
|
||||
if( pParam == NULL ){
|
||||
return RET_INVALIDPARAM;
|
||||
}
|
||||
m_sSceneChangeParam = *(SSceneChangeResult*)pParam;
|
||||
return RET_SUCCESS;
|
||||
}
|
||||
private:
|
||||
SSceneChangeResult m_sSceneChangeParam;
|
||||
T m_cDetector;
|
||||
|
Loading…
Reference in New Issue
Block a user