audiovisualizer: mutex unlock added in error case
Submitted by Ponnam Srinivas
Link to original bug (#787869)
Description
Created attachment 360023
attached patch
Hi,
In gst_audio_visualizer_chain function.
Jumps out of a held mutex without unlocking it.
if (!klass->render (scope, inbuf, &outframe)) {
ret = GST_FLOW_ERROR;
gst_video_frame_unmap (&outframe);
goto beach;
Attachment 360023, "attached patch":
0001-audiovisualizer-mutex-unlock-added-in-error-case.patch
Version: 1.13.x