<div dir="ltr">Hi Bernhard,<div>Would you please explain "<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I handle this with a named pipe</span>". In my implementation , the /tmp/test is also a fifo. the filesrc element read from this fifo. But i am not able to send EOS even to pipeline or the filesrc element (call isn't returned ). I have tried ulinking and deleting this fifo, also tried with fdsrc instead of filesrc. All result in same behaviour. Would you tell me if i am doing anything wrong? the pipeline is stopping correctly when running in foreground. Only cause issues when run from other programs using system() command or making this as an application.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 6, 2018 at 4:51 PM, bernhard.graaf <span dir="ltr"><<a href="mailto:bernhard.graaf@gmx.de" target="_blank">bernhard.graaf@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>I handle this with a named pipe</div><div><br></div><div><br></div><div><br></div><div id="m_-5738193980912035446composer_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"><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Anjo John <<a href="mailto:anjo.john@vvdntech.in" target="_blank">anjo.john@vvdntech.in</a>> </div><div>Datum: 06.03.18 08:13 (GMT+01:00) </div><div>An: Discussion of the development of and with GStreamer <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a>> </div><div>Betreff: element send EOS event not returning </div><div><br></div></div><div><div class="h5"><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(<wbr>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="m_-5738193980912035446gmail_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>
</div></div></div><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>