gst_element_factory_make returns nullptr on Android
Tomasz Mikolajczyk
tmmikolajczyk at gmail.com
Tue Feb 13 08:47:33 UTC 2024
Have you tried to remove the cache directory? Usually ~/.cache/gstreamer
(at least on Linux).
On Tue, 13 Feb 2024 at 09:01, Ramil Galin via gstreamer-devel <
gstreamer-devel at lists.freedesktop.org> wrote:
> Hello!
>
> I am developing an app for Android using JNI. I use CMake to build my jni
> lib and follow this
> <https://github.com/henkeldi/gstreamer-android/blob/master/app/src/main/cpp/CMakeLists.txt>
> example to configure the CMakeLists.txt and gstreamer_android.cpp. I
> declare and register plugins according to the example either.
>
> The problem is that when I try to create some element of pipeline (e.g.
> "filesrc", "videotestsrc" etc.) using *gst_element_factory_make, *it
> returns nullptr. I posted the questions on stackoverflow
> <https://stackoverflow.com/questions/77961381/andoird-jni-gst-element-factory-make-returns-nullptr-when-i-try-create-element>
> and gstreamer
> <https://discourse.gstreamer.org/t/android-jni-gst-element-factory-make-returns-nullptr/959/3>
> forum but still got no answers.
>
> I would appreciate if you could help me with this problem.
>
> Looking forward to hearing from you.
>
> Best regards,
> Ramil Galin
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240213/4f388d1f/attachment.htm>
More information about the gstreamer-devel
mailing list