mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +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/4972>
This commit is contained in:
parent
4bd7992d14
commit
cdff561a76
1 changed files with 0 additions and 1 deletions
|
@ -1735,7 +1735,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