Fixes a problem with xbmc when switching channels.
Signed-off-by: Christian König <christian.koenig@amd.com>
vldecoder->decoder->destroy(vldecoder->decoder);
pipe_mutex_unlock(vldecoder->device->mutex);
+ vlRemoveDataHTAB(decoder);
FREE(vldecoder);
return VDP_STATUS_OK;
dev->context->destroy(dev->context);
vl_screen_destroy(dev->vscreen);
+ vlRemoveDataHTAB(device);
FREE(dev);
vlDestroyHTAB();
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;
}