st/va: flush pipeline after post processing

This will flush the pipeline,which will allow to share dma-buf based
buffers.

Signed-off-by: Suresh Guttula <Suresh.Guttula@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
sguttula 2016-11-10 00:59:53 -05:00 committed by Christian König
parent 84e3e12b25
commit 9b14a828db

View File

@ -80,6 +80,7 @@ vlVaPostProcCompositor(vlVaDriver *drv, vlVaContext *context,
vl_compositor_set_layer_dst_area(&drv->cstate, 0, &dst_rect);
vl_compositor_render(&drv->cstate, &drv->compositor, surfaces[0], NULL, false);
drv->pipe->flush(drv->pipe, NULL, 0);
return VA_STATUS_SUCCESS;
}