[gst-devel] Reusing pipelines after EOS

Wim Taymans wim.taymans at chello.be
Fri Sep 20 17:10:07 CEST 2002

On Sat, 2002-09-21 at 03:00, iain wrote:
> I've got a pipeline that I want to reuse after an EOS is hit.
> The problem is that it has a float2int in it, and on EOS the float2int
> destroys the data (like GstByteStreams) associated with each src pad. 

> Is this the correct behaviour, or should I be able to play a pipeline,
> wait for EOS, seek back to the start, and replay the pipeline?

You should be able to seek back, put the pipeline back to playing and
it should work. Going to READY and then back to PLAYING should have the
same effect as doing a seek to 0.

The plugin is expected to recreate the bytestream when going to PLAYING
of course, I don't know if that is the case.

> If it's not the correct behaviour, I can fix the f2i plugin, or if it
> is, I guess I'm just going to have to rebuild my pipeline every time.
> iain
> -- 
> "It's never over, my kingdom for a kiss upon her shoulder,
>  It's never over, all my riches for her smiles when I slept so soft against her,
>  It's never over, all my blood for the sweetness of her laughter,
>  It's never over, she's the tear that hangs inside my soul forever."
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list