[gst-devel] element seek and filesink

Stefan Kost ensonic at hora-obscura.de
Tue Feb 14 00:46:01 CET 2006

Hi Tim,

In buzztard sources never EOS - they are just synthesizers. Thus I use a 
seek-event to get the EOS. I send the seek-event to the pipeline.
When I use a filesink (for recording) sending the event fails, when using an 
audiosink it works.

IHMO it would be cood to have consistent behavior here.


Tim Müller wrote:
> On Mon, 2006-02-13 at 21:17 +0100, Stefan Kost wrote:
>>Still I believe in 0.10 seeking doesn't work with filesink. I also like to
>>know why:
>>a.) not implemented
>>b.) not planned
> An upstream element can make filesink seek to a specific offset by
> sending a newsegment event in GST_FORMAT_BYTES with the new offset as
> start. That works as far as I know - flacenc uses it for example to seek
> back and fill the header with the number of samples actually written
> (which might be a problem for muxers of course, but that's a different
> story).
> Or did you mean something else?
> Cheers
>  -Tim

More information about the gstreamer-devel mailing list