shithub: openh264

Download patch

ref: 1df4cd43ccff11729fb69eb1d80636fd14468e7f
parent: ef590de0dcd14f4a2c27b90aa2b5a6c60c04adff
parent: a6df69c3050008adffcf97885d966691667a6f90
author: ruil2 <[email protected]>
date: Tue Sep 9 11:38:26 EDT 2014

Merge pull request #1338 from sijchen/add_setoption

[Encoder] remove unsupported lines in cfg to avoid misleading

--- a/codec/api/svc/codec_app_def.h
+++ b/codec/api/svc/codec_app_def.h
@@ -333,7 +333,7 @@
 
   /*LTR settings*/
   bool     bEnableLongTermReference; // 1: on, 0: off
-  int	   iLTRRefNum;
+  int	   iLTRRefNum; //TODO: not supported to set it arbitrary yet
   unsigned int      iLtrMarkPeriod;
 
   /* multi-thread settings*/
--- a/testbin/welsenc.cfg
+++ b/testbin/welsenc.cfg
@@ -49,7 +49,6 @@
 
 #============================== LONG TERM REFERENCE CONTROL ==============================
 EnableLongTermReference             1              # Enable Long Term Reference (1: enable, 0: disable)
-LongTermReferenceNumber             2			   # long term reference number (1-4):screen content (1-2):camera video
 LtrMarkPeriod                       30             # Long Term Reference Marking Period
 
 #============================== LAYER DEFINITION ==============================
--- a/testbin/welsenc_arbitrary_res.cfg
+++ b/testbin/welsenc_arbitrary_res.cfg
@@ -49,7 +49,6 @@
 
 #============================== LONG TERM REFERENCE CONTROL ==============================
 EnableLongTermReference             0              # Enable Long Term Reference (1: enable, 0: disable)
-LongTermReferenceNumber             2			   # long term reference number (1-4):screen content (1-2):camera video
 LtrMarkPeriod                       30             # Long Term Reference Marking Period
 
 #============================== LAYER DEFINITION ==============================
--- a/testbin/welsenc_ios.cfg
+++ b/testbin/welsenc_ios.cfg
@@ -50,7 +50,6 @@
 
 #============================== LONG TERM REFERENCE CONTROL ==============================
 EnableLongTermReference             0              # Enable Long Term Reference (1: enable, 0: disable)
-LongTermReferenceNumber             2			   # long term reference number (1-4):screen content (1-2):camera video
 LtrMarkPeriod                       30             # Long Term Reference Marking Period
 
 #============================== LAYER DEFINITION ==============================
--- a/testbin/welsenc_vd_1d.cfg
+++ b/testbin/welsenc_vd_1d.cfg
@@ -49,7 +49,6 @@
 
 #============================== LONG TERM REFERENCE CONTROL ==============================
 EnableLongTermReference             1              # Enable Long Term Reference (1: enable, 0: disable)
-LongTermReferenceNumber             2			   # long term reference number (1-4):screen content (1-2):camera video
 LtrMarkPeriod                       30             # Long Term Reference Marking Period
 
 #============================== LAYER DEFINITION ==============================
--- a/testbin/welsenc_vd_rc.cfg
+++ b/testbin/welsenc_vd_rc.cfg
@@ -49,7 +49,6 @@
 
 #============================== LONG TERM REFERENCE CONTROL ==============================
 EnableLongTermReference             1              # Enable Long Term Reference (1: enable, 0: disable)
-LongTermReferenceNumber             2			   # long term reference number (1-4):screen content (1-2):camera video
 LtrMarkPeriod                       30             # Long Term Reference Marking Period
 
 #============================== LAYER DEFINITION ==============================