mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
textoverlay: don't leak GAP events
This commit is contained in:
parent
1185fbd29a
commit
448c006b02
1 changed files with 3 additions and 0 deletions
|
@ -1795,6 +1795,9 @@ gst_base_text_overlay_text_event (GstPad * pad, GstObject * parent,
|
||||||
GST_BASE_TEXT_OVERLAY_LOCK (overlay);
|
GST_BASE_TEXT_OVERLAY_LOCK (overlay);
|
||||||
GST_BASE_TEXT_OVERLAY_BROADCAST (overlay);
|
GST_BASE_TEXT_OVERLAY_BROADCAST (overlay);
|
||||||
GST_BASE_TEXT_OVERLAY_UNLOCK (overlay);
|
GST_BASE_TEXT_OVERLAY_UNLOCK (overlay);
|
||||||
|
|
||||||
|
gst_event_unref (event);
|
||||||
|
ret = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_FLUSH_STOP:
|
case GST_EVENT_FLUSH_STOP:
|
||||||
|
|
Loading…
Reference in a new issue