shithub: openh264

Download patch

ref: 5ae37a1672d518ae4db95e719804fd3116782b1f
parent: f0c2cdd78c091bd5b868ae91ab481532b79d7a30
parent: 157b87677511494c4fcfd0bead1a9e7e6eef12bf
author: Licai Guo <[email protected]>
date: Thu Mar 20 06:00:13 EDT 2014

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

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;