mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
subtitleoverlay: fix event unref in (rare) error case
This commit is contained in:
parent
5e9862b2ba
commit
becba526d9
1 changed files with 1 additions and 1 deletions
|
@ -1822,7 +1822,7 @@ gst_subtitle_overlay_video_sink_event (GstPad * pad, GstEvent * event)
|
|||
if (format != GST_FORMAT_TIME) {
|
||||
GST_ERROR_OBJECT (pad, "Newsegment event in non-time format: %s",
|
||||
gst_format_get_name (format));
|
||||
gst_object_unref (event);
|
||||
gst_event_unref (event);
|
||||
gst_object_unref (self);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue