not getting EOS in pipeline with two sources
Thiago Sousa Santos
thiago.sousa.santos at collabora.com
Fri Jan 13 03:37:24 PST 2012
On Thu, 2012-01-12 at 08:14 -0800, Sakurazuka wrote:
> In my app I have pipeline with two sources:
> 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
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/not-getting-EOS-in-pipeline-with-two-sources-tp4289494p4289494.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel