After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748688 - gst-android: Automatically install plugin java classes
gst-android: Automatically install plugin java classes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 731204
 
 
Reported: 2015-04-30 09:27 UTC by Matthieu Bouron
Modified: 2015-05-04 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-android: rename confusing klass argument of the gst_android_init method (1.10 KB, patch)
2015-04-30 09:29 UTC, Matthieu Bouron
committed Details | Review
gst-android: Automatically install plugins java classes (2.11 KB, patch)
2015-04-30 09:30 UTC, Matthieu Bouron
committed Details | Review
gst-android: Add gst_android_get_{context|class_loader} functions (3.17 KB, patch)
2015-04-30 09:30 UTC, Matthieu Bouron
committed Details | Review

Description Matthieu Bouron 2015-04-30 09:27:47 UTC
The following patches allow gst-android to automatically install java classes from plugins if required.

Gstreamer plugins need to install its java classes to /usr/share/gst-android/ndk-build/$(plugin_name) and gstreamer-1.0.mk installs them under src/org/freedesktop/gstreamer/$(plugin_name) to be included at buid time.

This will allow the gstreamer plugins to load the relevant classes using the application class loader.

The last patch declares two global functions to access the application class loader and the application context so the gstreamer plugins will be able to dlsym those functions and use them.
Comment 1 Matthieu Bouron 2015-04-30 09:29:44 UTC
Created attachment 302633 [details] [review]
gst-android: rename confusing klass argument of the gst_android_init method
Comment 2 Matthieu Bouron 2015-04-30 09:30:04 UTC
Created attachment 302634 [details] [review]
gst-android: Automatically install plugins java classes
Comment 3 Matthieu Bouron 2015-04-30 09:30:22 UTC
Created attachment 302635 [details] [review]
gst-android: Add gst_android_get_{context|class_loader} functions