<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>