AW: SENDING eos element to playbin
Bernhard Graaf
bernhard.graaf at gmx.de
Thu Jul 5 18:47:15 UTC 2018
I use a named pipe to send a signal from another thread and than switch the
pipeline to NULL (like Nicolas told). Works fine.
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org]
Im Auftrag von Nicolas Dufresne
Gesendet: Donnerstag, 5. Juli 2018 19:50
An: Discussion of the development of and with GStreamer
Betreff: Re: SENDING eos element to playbin
Le jeudi 05 juillet 2018 à 04:11 -0700, Sujith reddy a écrit :
> Hi All,
>
> song is playing through a gstreamer pipeline playbin.
>
> Now from another thread i wanted to stop the playbin.
>
> How can i do these?
>
> After reading some research in the internet we found that we can send the
> eos event to sink pad of an element.
>
> Now i am using playbin element.How can i Send eos event to playbin.
If you were doing transcoding or something, that would be the way, but
just to stop playback, switch you pipeline to NULL state.
gst_element_set_state (pipeline, GST_STATE_NULL);
>
> Thanks
> Sujith
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list