diff options
-rw-r--r-- | omx/videodecode/omx_h264_dec/src/omx_h264dec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/omx/videodecode/omx_h264_dec/src/omx_h264dec.c b/omx/videodecode/omx_h264_dec/src/omx_h264dec.c index 18e7889..3ec406e 100644 --- a/omx/videodecode/omx_h264_dec/src/omx_h264dec.c +++ b/omx/videodecode/omx_h264_dec/src/omx_h264dec.c @@ -226,7 +226,6 @@ PaddedBuffParams CalculateH264VD_outbuff_details(OMX_HANDLETYPE hComponent, OMX_ staticparams->viddec3Params.displayDelay = pDecStatus->spsMaxRefFrames; } - staticparams->dpbSizeInFrames = pDecStatus->spsMaxRefFrames; pH264VidDecComp->tH264VideoParam.nRefFrames = pDecStatus->spsMaxRefFrames; if( pH264VidDecComp->tH264VideoParam.eProfile == OMX_VIDEO_AVCProfileBaseline ) { /*Base profile*/ @@ -476,7 +475,6 @@ OMX_ERRORTYPE OMXH264VD_SetParameter(OMX_HANDLETYPE hComponent, } } } else if( pH264VidDecComp->tH264VideoParam.nRefFrames <= 16 ) { - staticparams->dpbSizeInFrames = pH264VidDecComp->tH264VideoParam.nRefFrames; if( pH264VideoParam->eProfile == OMX_VIDEO_AVCProfileBaseline ) { staticparams->viddec3Params.displayDelay = IVIDDEC3_DECODE_ORDER; @@ -668,8 +666,6 @@ OMX_ERRORTYPE OMXH264VD_HandleError(OMX_HANDLETYPE hComponent) (OMX_U32)pDecStatus->spsMaxRefFrames, pH264VidDecComp->tH264VideoParam.nRefFrames); pH264VidDecComp->tH264VideoParam.nRefFrames = pDecStatus->spsMaxRefFrames; - staticparams->dpbSizeInFrames - = pDecStatus->spsMaxRefFrames; staticparams->viddec3Params.displayDelay = pDecStatus->spsMaxRefFrames; if( pH264VidDecComp->tH264VideoParam.eProfile == OMX_VIDEO_AVCProfileBaseline ) { |