diff options
author | gji2 <guoliang.ji@intel.com> | 2013-09-23 03:35:31 +0800 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:03:41 -0700 |
commit | fbd63aabced2ef7b356f2dea4903b5ca7b12362c (patch) | |
tree | 7de576b9278ab0303f36ca0b66784b7a766f63b1 /base | |
parent | fa6357737290b9e5957e2da9b3a112fec241df11 (diff) | |
download | wrs_omxil_core-fbd63aabced2ef7b356f2dea4903b5ca7b12362c.tar.gz |
config omx to insert SPS/PPS before each IDR frame
BZ: 138989
config omx to insert SPS/PPS before each IDR frame
Change-Id: I41492f2e33373a17b3cafc7ab8cdad045d167158
Signed-off-by: gji2 <guoliang.ji@intel.com>
Reviewed-on: http://android.intel.com:8080/133586
Reviewed-by: Zhao, Leo <leo.zhao@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'base')
-rw-r--r-- | base/src/componentbase.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/src/componentbase.cpp b/base/src/componentbase.cpp index 5ef23c1..b5fada2 100644 --- a/base/src/componentbase.cpp +++ b/base/src/componentbase.cpp @@ -756,6 +756,11 @@ OMX_ERRORTYPE ComponentBase::CBaseGetExtensionIndex( return OMX_ErrorNone; } + if (!strcmp(cParameterName, "OMX.google.android.index.prependSPSPPSToIDRFrames")) { + *pIndexType = static_cast<OMX_INDEXTYPE>(OMX_IndexExtPrependSPSPPS); + return OMX_ErrorNone; + } + return OMX_ErrorUnsupportedIndex; } |