libmix: avoid passing invalid surface to video driver

BZ: 36120

Check surface status at MW to avoid passing invalid surface to video driver
Signed-off-by: Weian Chen <weian.chen@intel.com>

Change-Id: I37dfe6647fe728cf6a09c4981a462a90e80462a0
Reviewed-on: http://android.intel.com:8080/48613
Reviewed-by: Chen, Weian <weian.chen@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
1 file changed