[gst-devel] Sending EOS into continuous sources

Benjamin Otte in7y118 at public.uni-hamburg.de
Sun Dec 21 17:00:02 CET 2003


On Sun, 21 Dec 2003, Ronald Bultje wrote:

> A better solution would be to gst_element_send_event (source,
> gst_event_new (GST_EVENT_EOS)); Osssrc currently supports this, but no
> other element does. Are people allright with me implementing this in all
> continuous source elements (sine, silence, oss, alsa, v4l, v4l2,
> v4lmjpeg, videotest, just to name a few)? Or do you have better
> suggestions?
>
Sending an event up/downstream either works for every element or for
none.
I think we'll need a way to tell upstream to stop sooner or later, as tag
readers need this, too.

No idea on how to do that though...

Benjamin





More information about the gstreamer-devel mailing list