gst_element_factory_make ("videotestsrc", "src"); fails.

Nicolas Dufresne nicolas at ndufresne.ca
Wed Mar 14 21:12:13 UTC 2018


Le mercredi 14 mars 2018 à 14:14 -0500, blackthirt33n . a écrit :
> I had tried to build the example at the beginning of the page 
> https://gstreamer.freedesktop.org/documentation/application-developme
> nt/advanced/pipeline-manipulation.html
> The statement:
> gst_element_factory_make ("videotestsrc", "src");
> 
> returns a null value.

Did you initialize GStreamer (called gst_init()) ? Do you have
gst-plugins-base equivalent package installed on your OS ? Have you
looked up the element using gst-inspect-1.0 videotestsrc ?

> 
> James
> _______________________________________________
> 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/20180314/6e2a6663/attachment-0001.sig>


More information about the gstreamer-devel mailing list