diff --git a/sys/d3d11/gstd3d11colorconverter.c b/sys/d3d11/gstd3d11colorconverter.c index a7ff96eb0f..783e7725e9 100644 --- a/sys/d3d11/gstd3d11colorconverter.c +++ b/sys/d3d11/gstd3d11colorconverter.c @@ -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; }