Problem with GStreamer-1.0 on Android with Qt/C++ ... most elements are NULL
Nicolas Dufresne
nicolas.dufresne at collabora.com
Thu Jul 9 07:00:10 PDT 2015
Le mercredi 08 juillet 2015 à 09:24 -0700, Liru7 a écrit :
> GstElement* fakesrc = gst_element_factory_make("fakesrc", NULL);
> ...
> GstElement* src = gst_element_factory_make("videotestsrc", "src");
> ...
> GstElement* sink = gst_element_factory_make("xvimagesink", "sink");
This one won't work on Android anyway.
> ...
> GstElement *pipe = gst_parse_launch(...);
>
> A few weeks ago I thought the reason of this behaviour is because I
> don't
> initilize with gst_android_init(...). But today it still doesn't
> work? All
> the elements seem to be NULL...
> But curiously the following seems to work:
When you built GStreamer using the Android Makefile, you need to select
each plugins you want to include as we use a static build on Android.
Maybe you forgot that part ? Also, make sure the generated init
function do initialize the plugins.
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150709/848cb02c/attachment.sig>
More information about the gstreamer-devel
mailing list