exynos_omx: multi_thread: Bug fix.
authorSeungBeom Kim <sbcrux.kim@samsung.com>
Thu, 4 Apr 2013 05:45:37 +0000 (14:45 +0900)
committerRom Lemarchand <romlem@google.com>
Mon, 8 Apr 2013 16:41:18 +0000 (09:41 -0700)
wrong parameter fixed.

Change-Id: If0750b5a669249824b12ac13fa447e2208acd798
Signed-off-by: SeungBeom Kim <sbcrux.kim@samsung.com>
exynos_omx/openmax/exynos_omx/component/common/Exynos_OMX_Basecomponent.c

index e0f19aa17f66b9a9ae2041ef6240308f3b2d7e56..cbf6a24a94fac75411bf3ef1756b944b66813347 100644 (file)
@@ -237,7 +237,7 @@ OMX_ERRORTYPE Exynos_OMX_ComponentStateSet(OMX_COMPONENTTYPE *pOMXComponent, OMX
                     Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].pauseEvent);
                     pExynosComponent->pExynosPort[i].pauseEvent = NULL;
                     if (pExynosComponent->pExynosPort[i].bufferProcessType == BUFFER_SHARE) {
-                        Exynos_OSAL_SignalTerminate(&pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
+                        Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
                         pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent = NULL;
                     }
                 }
@@ -282,7 +282,7 @@ OMX_ERRORTYPE Exynos_OMX_ComponentStateSet(OMX_COMPONENTTYPE *pOMXComponent, OMX
                     Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].pauseEvent);
                     pExynosComponent->pExynosPort[i].pauseEvent = NULL;
                     if (pExynosComponent->pExynosPort[i].bufferProcessType == BUFFER_SHARE) {
-                        Exynos_OSAL_SignalTerminate(&pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
+                        Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
                         pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent = NULL;
                     }
                 }
@@ -421,7 +421,7 @@ OMX_ERRORTYPE Exynos_OMX_ComponentStateSet(OMX_COMPONENTTYPE *pOMXComponent, OMX
                         Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].pauseEvent);
                         pExynosComponent->pExynosPort[i].pauseEvent = NULL;
                         if (pExynosComponent->pExynosPort[i].bufferProcessType == BUFFER_SHARE) {
-                            Exynos_OSAL_SignalTerminate(&pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
+                            Exynos_OSAL_SignalTerminate(pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent);
                             pExynosComponent->pExynosPort[i].hAllCodecBufferReturnEvent = NULL;
                         }
                     }