libmix: wait for the decode buffer ready if the surface is not composed by surfaceFlinger

BZ: 92956

if the surfaceTexture is not composed by surfaceFlinger, for example, video edit preview mode and HTML5
inline mode. the waiting for decode buffer ready should be done in decode thread to avoid tearing or color line
in such use case, because the app will not pass the NV12 buffer to HWC, and the NV12 buffer will be disposed by openGL
and convert to RGB in application.

Change-Id: I0a7f60b93f5ca1cbc2cf5cdcaf34f6044712a548
Signed-off-by: ywan171 <>
Reviewed-by: Shi, PingX <>
Reviewed-by: cactus <>
Tested-by: Shi, PingX <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
1 file changed