element send EOS event not returning

Anjo John anjo.john at vvdntech.in
Tue Mar 6 11:34:24 UTC 2018


Hi Bernhard,
Would you please explain "I handle this with a named pipe". 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.

On Tue, Mar 6, 2018 at 4:51 PM, bernhard.graaf <bernhard.graaf at gmx.de>
wrote:

> 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 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
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 

*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/c693b7c9/attachment.html>


More information about the gstreamer-devel mailing list