summaryrefslogtreecommitdiff
path: root/data/ndk-build
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-09-23 13:56:09 -0400
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-11-04 04:28:17 +0000
commit459e09c9a683eb164c1f7bd86b1ec257e256323c (patch)
treeb8d80b4ce73b6298f9435c6f079009fc47d5c50b /data/ndk-build
parent1beeb40641c50ee14db9266dd16f542666c62356 (diff)
android: Implement gst_init_static_plugins()
This is the same symbol defined in libgstreamer-full and called by gst_init(). Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/629>
Diffstat (limited to 'data/ndk-build')
-rw-r--r--data/ndk-build/gstreamer_android-1.0.c.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/data/ndk-build/gstreamer_android-1.0.c.in b/data/ndk-build/gstreamer_android-1.0.c.in
index 00fd500f..d46135f4 100644
--- a/data/ndk-build/gstreamer_android-1.0.c.in
+++ b/data/ndk-build/gstreamer_android-1.0.c.in
@@ -60,9 +60,9 @@ G_PASTE(g_io_, G_PASTE(name, _load)) (NULL)
/* Declaration of static gio modules */
@G_IO_MODULES_DECLARE@
-/* Call this function to register static plugins */
+/* This is called by gst_init() to register static plugins */
void
-gst_android_register_static_plugins (void)
+gst_init_static_plugins (void)
{
@PLUGINS_REGISTRATION@
}
@@ -561,7 +561,6 @@ gst_android_init (JNIEnv * env, jobject context)
g_free (message);
return;
}
- gst_android_register_static_plugins ();
gst_android_load_gio_modules ();
__android_log_print (ANDROID_LOG_INFO, "GStreamer",
"GStreamer initialization complete");