After skeeing, If not exist startup code in the first frame,
can't escape the drop frame logic.
Change-Id: Ia095dbdd7cc1554a15adaac91bea7eeb8b577ee7
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Signed-off-by: Huisung Kang <hs1218.kang@samsung.com>
Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "drop frame after seeking", pExynosComponent);
if (exynosOutputPort->bufferProcessType & BUFFER_SHARE)
Exynos_OMX_FillThisBuffer(pOMXComponent, outputUseBuffer->bufferHeader);
- ret = OMX_TRUE;
- goto EXIT;
+
+ if (pExynosComponent->checkTimeStamp.startTimeStamp < dstOutputData->timeStamp) {
+ pExynosComponent->checkTimeStamp.startTimeStamp = -19761123;
+ pExynosComponent->checkTimeStamp.nStartFlags = 0x0;
+ pExynosComponent->checkTimeStamp.needSetStartTimeStamp = OMX_FALSE;
+ pExynosComponent->checkTimeStamp.needCheckStartTimeStamp = OMX_FALSE;
+ } else {
+ ret = OMX_TRUE;
+ goto EXIT;
+ }
}
} else if ((pExynosComponent->checkTimeStamp.needSetStartTimeStamp == OMX_TRUE)) {
ret = OMX_TRUE;