[Bug 731204] androidmedia: Implement zerocopy rendering

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 10 09:16:05 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=731204

--- Comment #49 from Matthieu Bouron <matthieu.bouron at collabora.com> ---
(In reply to Andoni Morales from comment #48)
> If we don't want any user interaction, all the jniutils could be moved into
> a new library with this new API:
> 
> gst_jni_set_application_class_loader (jobject class_loader);
> 
> gstreamer_android.c in JNI_OnLoad retrieves the ClassLoader for the
> GStreamer class using Class.getClassLoader() and caches it with this new API.
> 
> Classes are now searched using the cached class loader instance instead of
> the env's FindClass:
> CallObjectMethod(class_loader, find_class_method, "org/bla/GStreamer")

This is what I was thinking of, so +1 for this approach :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list