Otherwise we end up asking subclasses to push the event forward,
which will fail since no pads are created yet.
res = gst_mpegts_base_handle_eos (base);
gst_event_unref (event);
break;
+ case GST_EVENT_CAPS:
+ /* FIXME, do something */
+ gst_event_unref (event);
+ break;
case GST_EVENT_FLUSH_START:
mpegts_packetizer_flush (base->packetizer);
mpegts_base_flush (base);
res = GST_MPEGTS_BASE_GET_CLASS (base)->push_event (base, event);
gst_event_unref (event);
}
+
+ GST_DEBUG ("Returning %d", res);
return res;
}