subtitleoverlay: fix mutex error if sink caps is not video
We were trying to unlock a mutex that was not locked. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4964>
This commit is contained in:
parent
1ef13dda12
commit
1027180960
@ -1736,7 +1736,6 @@ gst_subtitle_overlay_video_sink_setcaps (GstSubtitleOverlay * self,
|
||||
if (!gst_video_info_from_caps (&info, caps)) {
|
||||
GST_ERROR_OBJECT (self, "Failed to parse caps");
|
||||
ret = FALSE;
|
||||
GST_SUBTITLE_OVERLAY_UNLOCK (self);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user