On Thu, 2012-01-12 at 08:14 -0800, Sakurazuka wrote:
> Hello.
>
> In my app I have pipeline with two sources:
>
> filesrc->volume->mad->audioconvert\
> alsasrc->volume->audioconvert-> adder -> lame -> filesink
>
> I want it to stop main loop when ile from filesrc ends (just like in hello
> world program).
>
> I tried to put filesrc into separate pipeline then linking but still I get
> no EOF. Is there any other way?
You can add an event probe on filesrc's pad, when you get the EOS on the
probe, you push an EOS event on alsasrc (gst_element_send_event IIRC) to
make it stop. Then you wait for the pipeline's EOS message to stop the
pipeline.
--
Thiago
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel