gst_element_factory_make errors in gstreamer-1.0
mihaita
ivascumihaita at yahoo.com
Fri May 10 07:16:10 UTC 2019
Nicolas Dufresne-5 wrote
> 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.
> Yes, I cannot identify why it still complains
>
>>>
>>> / void
>>> GStreamer::start(void)
>
>>Do you ensure not to call gst_element_factory_make() before calling
>>GStreamer::start() ?
>
> I do not call gst_element_factory_make() explicitly in my code.
> Before calling GStreamer::start() I just create a new object so the
> constructor is called:
>
> GStreamer::GStreamer()
> {
> this->loop = NULL;
> this->appsrc = NULL;
> this->run = false;
> }
>
>>> {
>>> /* 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 .freedesktop
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at .freedesktop
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> signature.asc (201 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4690575/0/signature.asc>
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list