Modify OMX code for seeking.
Support for resubmit CSDs after seeking and flush.
Bug:
17294121
Change-Id: I407569f529fa6ffd82b3be5deb1dcc82cd505c2b
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
pExynosComponent->bBehaviorEOS = OMX_TRUE;
}
- if (pExynosComponent->checkTimeStamp.needSetStartTimeStamp == OMX_TRUE) {
+ if ((pExynosComponent->checkTimeStamp.needSetStartTimeStamp == OMX_TRUE) &&
+ (srcInputData->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != OMX_BUFFERFLAG_CODECCONFIG) {
pExynosComponent->checkTimeStamp.needCheckStartTimeStamp = OMX_TRUE;
pExynosComponent->checkTimeStamp.startTimeStamp = srcInputData->timeStamp;
pExynosComponent->checkTimeStamp.nStartFlags = srcInputData->nFlags;
pExynosComponent->bBehaviorEOS = OMX_TRUE;
}
- if (pExynosComponent->checkTimeStamp.needSetStartTimeStamp == OMX_TRUE) {
+ if ((pExynosComponent->checkTimeStamp.needSetStartTimeStamp == OMX_TRUE) &&
+ (srcInputData->nFlags & OMX_BUFFERFLAG_CODECCONFIG) != OMX_BUFFERFLAG_CODECCONFIG) {
pExynosComponent->checkTimeStamp.needCheckStartTimeStamp = OMX_TRUE;
pExynosComponent->checkTimeStamp.startTimeStamp = srcInputData->timeStamp;
pExynosComponent->checkTimeStamp.nStartFlags = srcInputData->nFlags;