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:
Arnaud Vrac 2015-09-28 20:30:17 +02:00 committed by Tim-Philipp Müller
parent 63a7cbf8f1
commit c6ce769a18

View file

@ -1681,6 +1681,9 @@ gst_ass_render_event_text (GstPad * pad, GstObject * parent, GstEvent * event)
* a text segment update */ * a text segment update */
GST_ASS_RENDER_BROADCAST (render); GST_ASS_RENDER_BROADCAST (render);
GST_ASS_RENDER_UNLOCK (render); GST_ASS_RENDER_UNLOCK (render);
gst_event_unref (event);
ret = TRUE;
break; break;
} }
case GST_EVENT_FLUSH_STOP: case GST_EVENT_FLUSH_STOP: