element send EOS event not returning

bernhard.graaf bernhard.graaf at gmx.de
Tue Mar 6 11:21:05 UTC 2018


I handle this with a named pipe


Von meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------Von: Anjo John <anjo.john at vvdntech.in> Datum: 06.03.18  08:13  (GMT+01:00) An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org> Betreff: element send EOS event not returning 
Hi All,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. this is my pipelinegst-launch-1.0 -e filesrc location=/tmp/test ! h264parse ! imxvpudec ! imxg2dvideosink framebuffer=/dev/fb1 

i have converted this to c application and added a signal handler for SIGINT. in signal handler i sent the event  gst_element_send_event(pipeline, gst_event_new_eos());
but the call never returns. Also tried to sent the event to filesrc element. It is also hanging. is there any way to stop the pipeline gracefully, any help is appreciated
-- 

*With Best Regards*


*Anjo John*

VVDN Technologies Pvt Ltd

*Cell : *+91 9539931442 | Skype :anjojohn051
 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180306/894a8819/attachment.html>


More information about the gstreamer-devel mailing list