shithub: openh264

Download patch

ref: 157b87677511494c4fcfd0bead1a9e7e6eef12bf
parent: f0c2cdd78c091bd5b868ae91ab481532b79d7a30
author: volvet <qizh@cisco.com>
date: Thu Mar 20 05:12:29 EDT 2014

add set method for scene change detection

--- a/codec/processing/src/scenechangedetection/SceneChangeDetection.h
+++ b/codec/processing/src/scenechangedetection/SceneChangeDetection.h
@@ -172,6 +172,13 @@
     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;