summaryrefslogtreecommitdiffstats
path: root/libhb/openclwrapper.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-07-04 22:53:55 +0000
committerRodeo <[email protected]>2015-07-04 22:53:55 +0000
commita3bda1e2778f7741a125761c5ce38d33d5e16eba (patch)
treea6e7392abad7e2992e1ddc32aa07d6fab566745d /libhb/openclwrapper.c
parentd6c21b5ec1f3d5c5f97987e442b949686d925bba (diff)
OpenCL: fix cleanup.
OpenCL buffer mapping was not disabled during cleanup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7342 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/openclwrapper.c')
-rw-r--r--libhb/openclwrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/openclwrapper.c b/libhb/openclwrapper.c
index 2adb183bb..9621d3a97 100644
--- a/libhb/openclwrapper.c
+++ b/libhb/openclwrapper.c
@@ -668,6 +668,7 @@ int hb_release_opencl_env( GPUEnv *gpu_info )
}
isInited = 0;
+ useBuffers = 0;
gpu_info->isUserCreated = 0;
return 1;