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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Black_13
I had tried to build the example at the beginning of the page 
The statement:
gst_element_factory_make ("videotestsrc", "src");

returns a null value.

James

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Dufresne-5
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment