summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/device.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2013-05-23 19:17:19 +0200
committerChristian König <[email protected]>2013-05-27 18:18:32 +0200
commit8ea34fa0e8e2c5ac7583777cdb91f3abe8ce9f8c (patch)
tree15249aca159bd9581fb4d505886048c8486f5177 /src/gallium/state_trackers/vdpau/device.c
parent5de41575a127eb8a6a0fe5c71a73b372f9b89f53 (diff)
st/vdpau: invalidate the handles on destruction
Fixes a problem with xbmc when switching channels. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/vdpau/device.c')
-rw-r--r--src/gallium/state_trackers/vdpau/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vdpau/device.c b/src/gallium/state_trackers/vdpau/device.c
index c530f431644..a829c2754a7 100644
--- a/src/gallium/state_trackers/vdpau/device.c
+++ b/src/gallium/state_trackers/vdpau/device.c
@@ -166,6 +166,7 @@ vlVdpDeviceDestroy(VdpDevice device)
dev->context->destroy(dev->context);
vl_screen_destroy(dev->vscreen);
+ vlRemoveDataHTAB(device);
FREE(dev);
vlDestroyHTAB();