mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
assrender: fix gap event leak and invalid return value
We don't want the gap event to be forwarded https://bugzilla.gnome.org/show_bug.cgi?id=755759
This commit is contained in:
parent
63a7cbf8f1
commit
c6ce769a18
1 changed files with 3 additions and 0 deletions
|
@ -1681,6 +1681,9 @@ gst_ass_render_event_text (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
* a text segment update */
|
||||
GST_ASS_RENDER_BROADCAST (render);
|
||||
GST_ASS_RENDER_UNLOCK (render);
|
||||
|
||||
gst_event_unref (event);
|
||||
ret = TRUE;
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_FLUSH_STOP:
|
||||
|
|
Loading…
Reference in a new issue