st/vdpau: invalidate the handles on destruction
Fixes a problem with xbmc when switching channels. Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
@@ -132,7 +132,9 @@ vlVdpVideoSurfaceDestroy(VdpVideoSurface surface)
|
||||
p_surf->video_buffer->destroy(p_surf->video_buffer);
|
||||
pipe_mutex_unlock(p_surf->device->mutex);
|
||||
|
||||
vlRemoveDataHTAB(surface);
|
||||
FREE(p_surf);
|
||||
|
||||
return VDP_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user