Re: gst_element_factory_make returns nullptr on Android
Tomasz Mikolajczyk via gstreamer-devel <[email protected]> Tue, 13 Feb 2024 09:47:33 +0100
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAAnoKN8y4DXD001QuK4roZaL3JAhMLDyr6o_o52GXhpq6HPwsg@mail.gmail.com> |
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 < [email protected]> 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 > > >