assrender: Don't try unlocking unlocked mutex
authorSebastian Dröge <sebastian@centricular.com>
Tue, 29 Dec 2020 11:15:10 +0000 (13:15 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 29 Dec 2020 11:19:53 +0000 (11:19 +0000)
commitb258144c1686b648fb5bda0ca56a2c6186346853
tree028587d0645ef35ba1cad47de6aa6269121b7529
parent68a47eb3167ce6f70f4b553d75caf9ecbd3b8f84
assrender: Don't try unlocking unlocked mutex

When flushing right at the beginning of the video chain function or
when failing negotiation at the top of the function, the assrender mutex
would be unlocked without being previously locked.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1918>
ext/assrender/gstassrender.c