Problem with executing demo code with static linked library

Javad Rahimi javad321javad at gmail.com
Tue Aug 9 11:46:15 UTC 2022


Hello,
I have followed the instruction in Gstreamer GitHub page to compile it in
static mode. The "libgstreamer-full-1.0.a" is made and the demo code in
https://gstreamer.freedesktop.org/documentation/tutorials/basic/hello-world.html?gi-language=c
is also compiled and linked successfully. However when trying to run it. It
show following error. But when Compiling in shared library mode, it works
perfectly.

> 0:00:00.034195340  7699 0x56525f9e8500 ERROR           GST_PIPELINE
> subprojects/gstreamer/gst/parse/grammar.y:851:priv_gst_parse_yyparse: no
> element "playbin"
>
> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
> gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
>
> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
> gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed
>
> (basic-tutorial-1:7699): GStreamer-CRITICAL **: 16:03:29.378:
> gst_bus_timed_pop_filtered: assertion 'GST_IS_BUS (bus)' failed
>

Best Regards,
Javad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220809/442a226c/attachment.htm>


More information about the gstreamer-devel mailing list