<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body><div>I handle this with a named pipe</div><div><br></div><div><br></div><div><br></div><div id="composer_signature"><div style="font-size:85%;color:#575757" dir="auto">Von meinem Samsung Galaxy Smartphone gesendet.</div></div><div><br></div><div style="font-size:100%;color:#000000"><!-- originalMessage --><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Anjo John <anjo.john@vvdntech.in> </div><div>Datum: 06.03.18 08:13 (GMT+01:00) </div><div>An: Discussion of the development of and with GStreamer <gstreamer-devel@lists.freedesktop.org> </div><div>Betreff: element send EOS event not returning </div><div><br></div></div><div dir="ltr">Hi All,<div>i have a Gstreamer application to read H264 data from a fifo and decode+display. Problem i am facing is whenever i run the pipeline using gst-launch i am able to stop the pipeline with ctrl+c interrupt. But if i run the same pipeline using system () command from other application and sending kill -2 to gst-launch , pipeline is not stopping. </div><div>this is my pipeline</div><div>gst-launch-1.0 -e filesrc location=/tmp/test ! h264parse ! imxvpudec ! imxg2dvideosink framebuffer=/dev/fb1 <br clear="all"><div><br></div><div>i have converted this to c application and added a signal handler for SIGINT. in signal handler i sent the event </div><div> gst_element_send_event(pipeline, gst_event_new_eos());<br></div><div>but the call never returns. Also tried to sent the event to filesrc element. It is also hanging. </div><div>is there any way to stop the pipeline gracefully, any help is appreciated</div><div><br></div>-- <br><div class="gmail_signature"><br>*With Best Regards*<br><br><br>*Anjo John*<br><br>VVDN Technologies Pvt Ltd<br><br>*Cell : *+91 9539931442 | Skype :anjojohn051<br> <br><br></div>
</div></div>
</body></html>