SENDING eos element to playbin
Nicolas Dufresne
nicolas at ndufresne.ca
Thu Jul 5 17:49:59 UTC 2018
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
More information about the gstreamer-devel
mailing list