gst_element_factory_make errors in gstreamer-1.0

Nicolas Dufresne nicolas at ndufresne.ca
Thu May 9 19:44:49 UTC 2019


Le jeudi 09 mai 2019 à 05:40 -0500, mihaita a écrit :
> >      I have created a gstreamer app in Eclipse and i have the following 
> > runtime emssages: 
> > 
> > (process:1510): GStreamer-CRITICAL **: gst_element_factory_make: assertion 
> > 'gst_is_initialized ()' failed 
> 
> Did you forgot to call gst_init() ? 
> 
> Thanks for your quick reply. I do call gst_init when i start Gstreamer
> thread:

GStreamer run-time check does not agree with you.

> 
> / void
> GStreamer::start(void)

Do you ensure not to call gst_element_factory_make() before calling
GStreamer::start() ?

> {
>     /* Initialise the gstreamer library */
>     gst_init(NULL, NULL);
> 
>     this->thread = std::thread(GstreamerThread, this);
> }/
> 
> 
> 
> 
> 
> 
> 
> --
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190509/a42223da/attachment.sig>


More information about the gstreamer-devel mailing list