mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
subitleoverlay: fix compiler warning
gstsubtitleoverlay.c: In function 'gst_subtitle_overlay_video_sink_event': gstsubtitleoverlay.c:1736:22: error: 'target' may be used uninitialized in this function
This commit is contained in:
parent
9c128d171a
commit
4b43972cf4
1 changed files with 3 additions and 1 deletions
|
@ -1731,9 +1731,11 @@ gst_subtitle_overlay_video_sink_setcaps (GstSubtitleOverlay * self,
|
|||
}
|
||||
GST_SUBTITLE_OVERLAY_UNLOCK (self);
|
||||
|
||||
out:
|
||||
if (target)
|
||||
gst_object_unref (target);
|
||||
|
||||
out:
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue