mpegtsbase: Don't leak upstream events

This commit is contained in:
Edward Hervey 2011-10-13 16:55:40 +02:00
parent 0c80f63c5b
commit e4b7967c9d

View file

@ -1204,6 +1204,7 @@ mpegts_base_sink_event (GstPad * pad, GstEvent * event)
break;
case GST_EVENT_EOS:
res = gst_mpegts_base_handle_eos (base);
gst_event_unref (event);
break;
case GST_EVENT_FLUSH_START:
mpegts_packetizer_flush (base->packetizer);