libmix: decoder: check driver render status before acquiring output surfaces

BZ: 25331

The video decoder checks for the rendering status before acquiring

Normal renderDone flag is used to track the surface status from OMX client
point of view.
There are cases where Android rendering pipeline thinks a frame is free
to be reused but that's not the case. The video driver knows better,
that's why we check with it. One of those cases are Widi and HDMI extended
video modes

Change-Id: I89db1ed8ff6244bffe3bec3bcc6867937bd920de
Signed-off-by: Miguel Verdu <>
Reviewed-by: Qiu, Junhai <>
Reviewed-by: Tao, Tao Q <>
Reviewed-by: Chen, Weian <>
Tested-by: Sun, Hang L <>
Reviewed-by: buildbot <>
Tested-by: buildbot <>
3 files changed