From: Seungha Yang Date: Thu, 26 Dec 2019 07:43:35 +0000 (+0900) Subject: d3d11colorconverter: Fix unmatched lock/unlock pair X-Git-Tag: 1.19.3~507^2~2492 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46186356cad3e1a3d2c047b8d6187874f5539dcb;p=platform%2Fupstream%2Fgstreamer.git d3d11colorconverter: Fix unmatched lock/unlock pair --- diff --git a/sys/d3d11/gstd3d11colorconverter.c b/sys/d3d11/gstd3d11colorconverter.c index a7ff96e..783e772 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; }