d3d11colorconverter: Fix unmatched lock/unlock pair

This commit is contained in:
Seungha Yang 2019-12-26 16:43:35 +09:00
parent ab80c771df
commit 46186356ca

View file

@ -916,7 +916,7 @@ gst_d3d11_color_converter_convert (GstD3D11ColorConverter * converter,
gst_d3d11_device_lock (converter->device);
ret = gst_d3d11_color_converter_convert_unlocked (converter, srv, rtv);
gst_d3d11_device_lock (converter->device);
gst_d3d11_device_unlock (converter->device);
return ret;
}