shithub: openh264

Download patch

ref: 8effa45eddc9e2e3d6b337095c3b9ab12463ff4f
parent: df77a5d587eca1d8667b9513531c70cb5aafaa3a
author: Karina <ruil2@cisco.com>
date: Tue May 31 16:46:13 EDT 2016

fix removing parameter setting

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -225,7 +225,9 @@
         pSvcParam.iUsageType = (EUsageType)atoi (strTag[1].c_str());
       }else if (strTag[0].compare ("SimulcastAVC") == 0) {
         pSvcParam.bSimulcastAVC = atoi (strTag[1].c_str()) ? true : false;
-      }else if (strTag[0].compare ("SourceHeight") == 0) {
+      }else if (strTag[0].compare ("SourceWidth") == 0) {
+        pSrcPic->iPicWidth = atoi (strTag[1].c_str());
+      } else if (strTag[0].compare ("SourceHeight") == 0) {
         pSrcPic->iPicHeight = atoi (strTag[1].c_str());
       } else if (strTag[0].compare ("InputFile") == 0) {
         if (strTag[1].length() > 0)