[gst-devel] Losing prerolled buffers

Tim Müller t.i.m at zen.co.uk
Wed May 24 01:38:43 CEST 2006


On Wed, 2006-05-24 at 00:41 +0100, Iain * wrote:

> It seems that the new-segment (and a tag) event are being sent to the
> splitter before the caps sent (obviously when you think about it). But
> this means that anything the splitter receives before the caps will
> get lost. How should it handle this? Is the proper thing to do store
> up all the events and then send them onto the srcpads once the pad is
> linked to something?

You could just cache the events and send them from your chain function
before you push the first buffer, at that point all links should be in
place as well.

 Cheers
  -Tim






More information about the gstreamer-devel mailing list