mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue