element send EOS event not returning

Anjo John anjo.john at vvdntech.in
Tue Mar 6 07:13:50 UTC 2018


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 pipeline
gst-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/a076ae59/attachment.html>


More information about the gstreamer-devel mailing list